Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 4.0-milestone-1, 3.5.1
-
Component/s: WYSIWYG Editor
-
Labels:None
-
Tests:Integration
-
Development Priority:High
-
Difficulty:Medium
-
Similar issues:
XWIKI-4884Hide the first and last new line when editing a standalone macro XWIKI-3551Cannot insert standalone macros XWIKI-5050A macro followed by a single new line is standalone XWIKI-3562Standalone macros should take 100% of the available space in the GWT WYSIWYG XWIKI-5013HTML code visible when inserting velocity macro displaying a property XWIKI-3297Add ability to insert macros XWIKI-3233Add ability to edit inserted macros XWIKI-259Add a macro button in the WYSIWYG allowing to insert from a configurable list of macros XWIKI-3762Macro insertion issue in IE6 -> next paragraph style is lost XWIKI-4856Charset errors on macro insertion
Description
Happens when using the wysiwyg to insert a ToC macro.
If i do not leave a line above the macro, user gets this message :
"not an inline macro" which is not helpful.
That warning message will be displayed once the page is saved.
Not working :
**Content Table**
{{toc/}}
== Section A ==
Working :
**Content Table**
{{toc/}}
== Section A ==
Issue Links
- depends on
-
XWIKI-4911
Add a generic executable for inserting block-level HTML elements
-
- is duplicated by
-
XE-894
"Not an inline macro" message displayed when text right after the macro
-
-
XE-681
non-inline macro's are placed inline by WYSIWYG editor
-
- relates to
-
XWIKI-4823
Macro block parameters are lost
-
-
XWIKI-4461
Cannot have a cursor around macro blocks in Wysiwyg
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Editor - GWT WYSIWYG [ 10670 ] | |
| Summary | ToC Macro : "not an inline macro" incomprehensible message | Automatically add empty new line before/after macros when inserting standalone macros |
| Component/s | Core [ 10116 ] | |
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
| Assignee | Marius Dumitru Florea [ mflorea ] |
| Priority | Major [ 3 ] | Critical [ 2 ] |
| Development Priority | High | |
| Difficulty | Unknown | Medium |
| Link |
This issue depends on |
| Link | This issue relates to XWIKI-4823 [ XWIKI-4823 ] |
| Priority | Critical [ 2 ] | Major [ 3 ] |
| Link |
This issue relates to |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Tests | Integration [ 10003 ] | |
| Fix Version/s | 3.5.1 [ 12968 ] | |
| Fix Version/s | 4.0-milestone-1 [ 12956 ] | |
| Resolution | Fixed [ 1 ] |
I'll make sure the ToC macro is inserted in the right place when using the WYSIWYG. Wiki syntax users will have to take care of this themselves though so we should make the message more clear anyway.