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

h3 is removed after saving in WYSIWYG Editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 B1, 1.0 B2, 1.0 B3
    • Fix Version/s: 1.0 B4
    • Labels:
      None
    • Environment:
      Tomcat 5.5, Mysql 5.0
    • keywords:
      WYSIWYG, h3, heading
    • Similar issues:

      Description

      If you paste a Text from a HTML Page (or Word) with a <h3> tag or enter a <h3> tag in the Wiki-Editor and open the WYSIWYG Editor and safe it afterwards, the whole text gets lost.

      I had to comment/remove the line

      this.addInternalProcessor((/\s*<h3\s*([^>]*)>([\s\S]+?)<\/h3>/i), 'convertHeadingInternal');

      in wiki_editor/plugins/core.js to make it work. I don't see any reason for this line, if you have it just for h3, there is no heading conversation or anything, would be a nice feature though. Anyway, I think like this it's just a strange bug...

        Attachments

          Activity

            People

            Assignee:
            phunghainam Phung Hai Nam
            Reporter:
            longkong Rafael Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: