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

Links are removed when a macro is collapsed and the editor looses focus

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0.3, 2.1 M1
    • 2.0.2
    • WYSIWYG Editor
    • None
    • link macro
    • Unit, Integration
    • Easy

    Description

      Follow this steps to reproduce:

      • edit a new page in wiki mode and set the content to:
        before
        
        {{velocity}}abc [[123>>http://www.xwiki.org]] xyz{{/velocity}}
        
        after
        
      • switch to wysiwyg mode
      • collapse the macro by clicking twice on it or by using the macro menu
      • click outside the editor
      • expand the macro

      The link had been removed. The content is not affected if the page is saved. The problem is just that the link is not there anymore after the macro is expanded.

      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: