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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9 M1, 1.8.3
    • Fix Version/s: 1.9 M2, 1.8.4
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Environment:
      any
    • keywords:
      reset command
    • Difficulty:
      Easy
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: