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

wikimodel-emptyline divs in view mode are not taking the same height as their corresponding p tags in wysiwyg

    XMLWordPrintable

Details

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

    Description

      Between the title and the text there are 2 empty lines in the example below.

      Edit mode:

      View mode:

      This is because empty lines in view mode are <div class='wikimodel-emptyline> with a 1rem height, while in edit they are <p> elements and the paragraphs have a margin bottom in XWiki content that makes them larger.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cdesableau Clément Desableau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: