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

Reset the content of the rich text area using a command instead of setting the inner HTML directly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9 M2, 1.8.4
    • 1.9 M1, 1.8.3
    • WYSIWYG Editor
    • None
    • any
    • reset command
    • Easy

    Description

      Some plugins (like the line plugin) have to execute code just after the initial content of the editor has been set (line plugin has to mark the initial BRs). Some actions like macro refresh or tab switch reset the content of the editor. Plugins need to be notified of this reset and handle it as the initial content of the editor has been set.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: