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

{style} macro doesn't support width or float

    XMLWordPrintable

Details

    • style macro, wysiwyg, editor

    Description

      An existing page with a div using float and width is converted by the WYSIWYG editor to the style macro. However, the rendered html does not show these properties.

      A page such as:

      <div style="float:left; width:49%;">
      left side
      </div>
      <div style="float:left; width:49%;">
      right side
      </div>

      Is convered to:

      {style:type=div|float=left|width=49%}
      left side {style}{style:type=div|float=left|width=49%}
      right side {style}

      Which is rendered in HTML as:

      <div style="" >
      left side
      </div><div style="" >
      right side
      </div>

      Attachments

        Activity

          People

            phunghainam Phung Hai Nam
            kliether Tom Kliethermes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: