Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-26921

Table entered via Wiki Markup Dialog Box creates margin due to cells wrapped in p tags (regression of CONF-24488)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 4.3, 4.3.1, 5.1.3
    • None

    Description

      Problem Description

      Creating table from wiki markup or upgraded content from wiki markup, wrap the cells with p tag and create some unnecessary margin. It has been fixed in 4.1.7 and it didn't replicatable in Confluence 4.2.x. However it does occur in Confluence 4.3 and 4.3.1. See image below for more information.

      Table created from Rich text editor

      Table created from Wiki markup

      Steps to replicate

      1. Click Insert >> Wiki Markup.
      2. Create table from there, for example like the following.
        ||Col_1||Col_2||Col_3||
        |Row|Row|Row|
        |Row|Row|Row|
        
      3. Now create table using Rich text editor and notice the difference

      Workaround

      Insert the following on custom stylesheet. Either from Confluence Admin >> Stylesheet or Space Admin >> Stylesheet.

      .confluenceTh p, .confluenceTd p {
      	margin:0 !important;
      }
      

      Attachments

        1. tablebug-rte.png
          tablebug-rte.png
          3 kB
        2. tablebug-wiki.png
          tablebug-wiki.png
          3 kB

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              rjmasikome RianA
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: