Details
- 
    Bug 
- 
    Resolution: Fixed
- 
    Major 
- 
    5.4.3, 6.2-rc-1
- 
        Integration
- 
        Medium
- 
        N/A
- 
        N/A
- 
        
Description
Not working when double clicking on a macro:
"{{info}}XXX{{/info}}x"
^^^ inline macro, followed by content
"{{info}}XXX{{/info}}{{info}}YYY{{/info}}"
^^^ inline macro, followed by another macro
"{{info}}XXX{{/info}}{{info}}YYY{{/info}}
"
^^^ inline macros followed by an empty new line
What actually happens:
Same behavior as pressing CTRL+A (select all). The entire wysiwyg's content is selected.
Note: In the above not-working case, a workaround can be used by double-clicking on the macro's border, around the macro's (text) output. Double-clicking on the macro's output (text) does not work.
What works as expected:
"{{info}}XXX{{/info}} "
^^^ inline macro, followed by a space
"{{info}}XXX{{/info}}"
^^^ block macro, nothing else on the line
"{{info}}XXX{{/info}}{{info}}YYY{{/info}}
s"
"{{info}}XXX{{/info}}{{info}}YYY{{/info}}
 "
^^^ 2 inline macros, followed by content on a new line
Reproduced on 6.2-rc1, 5.4.3 and probably is present on previous versions as well.
Caught by failing test: org.xwiki.test.wysiwyg.MacroTest.testDoubleClickToEditMacro
Attachments
Issue Links
- is related to
- 
                    XWIKI-4137 Pop up the "Edit macro properties" dialog when double-clicking on a macro block -         
- Closed
 
-