-
Suggestion
-
Resolution: Fixed
-
None
A macro developer should be able to specify whether the Rich Text editor should display the body as raw wiki markup or as processed wiki markup. Currently, if you want to expand the functionality of your tables by using the
{table-plus} macro, you lose the ability to edit the content as a table in the Rich Text editor, because the content of the macro is shown as raw wiki markup. Additionally, if you attempt to edit the content of a table in the {table-plus}macro from within the Rich Text editor, the editor may remove spaces between the pipe characters in the table, both changing empty cells into header cells and reducing the number of cells in the row.
- blocks
-
CONFSERVER-15887 Queries in SQL macro are corrupted by editing with Rich Text Editor
-
- Closed
-
-
CONFSERVER-16169 Macros that contain non-wiki-markup bodies are broken by rich text editor
-
- Closed
-
- is related to
-
CONFSERVER-18748 RTE occasionally throws away table-plus markup
-
- Closed
-
-
CONFSERVER-16071 Macro filter for Rich Text Editor
- Closed
- relates to
-
CONFSERVER-9929 Rich Text Editor handling of macros with body markup is buggy and/or incomplete
-
- Closed
-
Hi Baris,
The plugin has to be updated.
Then yes, you'll have to discuss it with the developers of that plugin. It's a simple change, although as mentioned above the developers may have to have a pre 3.1 and post 3.1 version of their plugin. There probably aren't too many people using 3.0 now though, so probably not.
I don't believe you can configure it for user macros. If by custom macros you mean your own inhouse full plugins, you simply override the getWysiwygBodyType() in your method.
Note that the fix doesn't technically implement exactly what the summary line of the issue says, but what people requested in the description in comments. Macros can specify whether their bodies should be displayed as raw wiki markup in a preformat block, or rendered into html. The body cannot be completely hidden.