Hi, Jonas Almfeldt wrote:
Hi,
I hope someone out there can help me with this very strange problem with the editors.
I have WYSIWYG as the default editor, and have edited the xwiki.properties and set xwiki/2.0 as default editor syntax.
Scenario:
I create a new page. Wysiwyg editor is default. Editing the following content:
Heading 1 bold text bold text
And saving.
Can you tell me the exact steps to reproduce the problem. Can you reproduce the problem each time? I tried the following: * typed "Heading 1" * applied "Title 1" style * pressed Enter twice (to go out of the heading) * clicked the bold button * typed "bold text" * pressed Enter twice (to create a new paragraph) * typed "bold text" again * saved (everything was fine) * edited again (everything was fine) * went to Wiki editor and got: ---------------8<--------------- = Heading 1 = **bold text** **bold text** --------------->8--------------- So I can't reproduce this way. Thanks, Marius
It looks nice when viewing the new page, with "Title 1" formatting of the heading line and bold text on the second and third lines.
But when I chose to edit the page again, the wysiwyg editor appears, with the following faulty content:
= heading 1 = **bold text line 1** **bold text line 2**\\ \\
Hitting the Preview button from wysiwyg editor shows the same result, raw xwiki/2.0 syntax, minus the original line breaks in the preview mode.
If I instead of preview change to the Wiki editor mode, the content is escaped:
~= heading 1 = ~*~*bold text line 1~*~* ~*~*bold text line 2~*~*~\~\ ~\~\
And if cycling between the editors once more from there, even more escape ~ characters occur.
What am I doing wrong? config issue? or is this a bug? wysiwyg editor appears not to be able to parse xwiki/2.0 syntax in 1.8.1?
Details:
* XWiki 1.8.1 stable * WebSphere Application Server 6.1 fixpack 21
Kind regards, Jonas _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users