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

{style} macro doesn't support width or float

    XMLWordPrintable

    Details

    • keywords:
      style macro, wysiwyg, editor
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: