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

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • None
    • Affects Version/s: 4.3, 4.3.1, 5.1.3
    • Component/s: None

      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;
      }
      

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

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

              Created:
              Updated:
              Resolved: