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

Selecting image and deleting it does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7.1, 1.8 M1
    • 1.7 RC1
    • WYSIWYG Editor
    • None

    Description

      When trying to select an image (by clicking it) and deleting it, upon save and view, it reappears.

      It is because the selection obtained by clicking the image only contains the img element, and the delete only deletes this element, leaving the markup comments all around (<!-startimage> and <!stopimage->) These comments are the ones actually parsed by the parser and generate the wikisyntax image upon save.

      Attachments

        Issue Links

          Activity

            People

              lucaa Anca Luca
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: