Hi guys,
In order to fix
http://jira.xwiki.org/jira/browse/XWIKI-5691 and a few
related bugs I had to refactor the way macros are displayed inside the
rich text area of the WYSIWYG content editor. Along with this I
introduced a few improvements in the way the user interacts with macros.
Here's a list of changes:
* macros are displayed now 100% like in view mode
* macros that have output are emphasized only when hovered or selected
* you can navigate the macro output with the arrow keys
* you can copy content from the macro output
* press Enter to edit macro
* press Space to toggle between collapsed and expanded state
* Ctrl+Shift+R reloads the macros
* Ctrl+Shift+E expands all/selected macros
* Ctrl+Shift+C collapses all/selected macros
* Ctrl+Shift+M to open the insert macro wizard
Known issues that I'd like to fix for 3.0 final:
* you can cut text from macro output
* you can drag text into/from macro output
* placing the caret before/after a macro is still tricky
Please take a look and let me know what you think.
Thanks,
Marius