Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-78

Add markers to modified XDOM by Transformations/Macros

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Rendering in the platform
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      Transformations modify XDOM but the changes are not meant to be persisted. However currently when the WYSIWYG editor edits the XDOM after the transformations have executed the changes are made visible for edit and thus the user can make modifications and save them.

      One solution is to add markers around modified XDOM content, i.e. generalize the principle used for macros with HTML comments that the WYSIWYG editor understand and show as read-only with the ability to edit the original content.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vmassol Vincent Massol
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: