-
Bug
-
Resolution: Fixed
-
Medium
-
2.5.3, 2.5.4
-
None
User macros embedded in a line(or on it's own line) creates extra lines when going between wiki markup and rich text editor. It's similar but not the same to CONF-7628 which was resolved. In that new lines were created repeatedly.
1. Define User Macro
Macro Name: p
Macro Body: Macro has a Body (use unprocessed macro body)
Output: Macro generates html markup
Template: <b>$body</b>
2. edit in wiki mode
Some text before inline macro
{p}Macro Body{p}more text after inline macro.
3. save and view
Some text before inline macro <b>Macro Body</b> more text after inline macro.
4. open in rte brings
Some text before inline macro
{p}Macro Body{p}more text after inline macro.
5. after save we got the following page view with 2 unwanted newlines before the macro and 2 unwanted macros after macro
Some text before inline macro
<b>Macro Body</b>
more text after inline macro.
When we use a user macro which generates wiki markup its even worse. Than we got unwanted newlines even in the wiki editor.
- is duplicated by
-
CONFSERVER-7965 WYSIWYG "breaks" pages
-
- Closed
-
-
CONFSERVER-8765 Saving a page forces moves usermacros to a newline
-
- Closed
-
-
CONFSERVER-8900 Newlines get added around macros in WYSIWYG editor
-
- Closed
-
-
CONFSERVER-10949 TinyMCE editor creates a new line while using user macro
-
- Closed
-
-
CONFSERVER-11246 Rich Text Editor automatically puts all user macros on a new line
-
- Closed
-
-
CONFSERVER-13335 TinyMCE adds vertical space where it doesn't belong
-
- Closed
-
- is incorporated by
-
CONFSERVER-6992 Markup umbrella issue - errors switching between modes or rendering escaped content
-
- Closed
-
- is related to
-
CONFSERVER-10790 User macro output being wrapped inside a <p> paragraph
-
- Closed
-
-
CONFSERVER-6491 Escaped newline between macro and table behaves inconsistently
-
- Closed
-