Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 B5
-
Fix Version/s: 1.0 RC1
-
Component/s: {Unused} Editor - TinyMCE WYSIWYG, {Unused} Macros & Filters
-
Labels:None
-
Environment:XWiki 1.0 beta 5 (and svn trunk), Tomcat 5.5.20, IBM JDK 1.5.0.4, Mysql 5.0, Gentoo 2006.1
-
keywords:style macro, wysiwyg, editor
-
Similar issues:
Description
When processing an existing page with a div after a velocity comment, the WYSIWYG editor will place the
{style} macro on the same line as the comment, so the {style}section will be ignored:
A page such as:
##comment line 1
<div style="background-color: red">
red section
##comment line 2
</div>
##comment line 3
<div style="background-color: blue">
blue section
##comment line 4
</div>
Will be convered to:
##comment line 1
{style:type=div|background-color=red}red section
##comment line 2 {style}
##comment line 3
{style:type=div|background-color=blue}blue section
##comment line 4 {style}