Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-54

Handle page syntax conversions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.1
    • 3.4
    • Syntax Highlighting
    • None
    • Unknown
    • N/A
    • N/A

    Description

      As reported in XWIKI-14791, there are 2 problems:

      1. The converted document content is not the current content of the editor, but the initial content of the document, from when it was initially loaded.
      2. After a syntax conversion is done, the content of the editor is not updated to reflect the newly converted content.

      As the syntax conversion code uses the underlying textarea, we need to ensure that is updated with the editor's content once the editor loses focus (i.e. when clicking on the syntax changer select input).

      Also, we need to make sure that any programmatic update of the underlying textarea (i.e. when the syntax conversions is done) is picked up by the editor and displayed to the user by refreshing the editor's content according to the textarea's content.

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: