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

h3 is removed after saving in WYSIWYG Editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.0 B4
    • 1.0 B1, 1.0 B2, 1.0 B3
    • None
    • Tomcat 5.5, Mysql 5.0
    • WYSIWYG, h3, heading

    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

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

            Dates

              Created:
              Updated:
              Resolved: