Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19281

Breaking bootstrap modal when using Wiki editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.10
    • None
    • Unknown

    Description

      Reproduction steps:

      • Import the attached XAR
      • Go to the page ClassAndModal
      • Click on first button to open first modal
      • Click on the second button to open second modal

      Expected results:

      • Both modal should be opened with the Wiki editor displayed

      Obtained result:

      • in first case, only a standard textarea is displayed
      • in second case, the modal is not displayed at all and instead a blank page is displayed with a menu bar at the top (see screenshot)

      Note that the main reason for which I create this ticket is the second problem, the fact that CodeMirror seems to be breaking the modal. Now I'm not sure to understand why in the first modal it's actually only displaying a TextArea editor: the only difference between both code is that in one case I'm using contentField for the name of the property (first editor), and in the other case I'm using content (second editor). IMO there should not be any difference between the editors.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: