Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.4.2
-
Unit
-
N/A
-
N/A
-
Description
The end style syntax - (%%) - does not behave as expected when it's cancelling a style that was applied at the start of a table cell, before any text within that cell.
Examples:
Style cancellation not respected: |(% style="color:red" %)red(%%) black| Style cancellation works: |other text before (% style="color:red" %)red(%%) black|
Additionally, when using this problematic markup in CKEditor, the unrespected (%%) gets silently dropped from the source. (Tested in CKEditor 1.10 on XWiki 8.4.2.)
The CKEditor-specific problem is a particular issue for our non-technical users because they expect to be able to select the first word(s) inside a table cell and apply text coloring, etc. to them – which CKEditor happily does apply to those words only. And CKEditor does properly preserve the (%%) chars when switching to/from its Source view. However, upon subsequently saving the page, the (%%) marker is lost.
Attachments
Issue Links
- is duplicated by
-
XRENDERING-645 Empty table cell format should not be removed
- Closed