Hi Stevens,

On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins <
[email protected]> wrote:

>
> Dear All,
>
> Code like the following is totally removed in the XWIKI WYSIWYG editor
> when the information is saved:
>
> "<ol><li>Item 1 characteristics:
>  <ul>
>    <li>Item 1, bullet 1</li>
>    <li>Item 1, bullet 2</li>
>    <li>Item 1, bullet 3</li>
>  </ul>
> </li>
> <li>Item 2 characteristics:
>  <ul>
>    <li>Item 2, bullet 1</li>
>    <li>Item 2, bullet 2</li>
>  </ul>
> </li>
> <li>Item 3 characteristics:
>  <ul>
>    <li>Item 3, bullet 1</li>
>  </ul>
> </li>
> </ol>"
>
> It important to never save such HTML snippets in the WYSIWYG editor. And
> anyone who follows you and edits the file unknowingly in WYSIWYG mode
> will remove the elements as well. It would be nice if the developers
> tweak the editors to convert such code in the background to a
> corresponding wiki format.
>
> Greetings,
> Steven Calkins


Which version of XWiki Enterprise are you using?

If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code
in a HTML macro:

{{html}} HTML code goes here {{/html}}

This will protect your code when saving the page and make sure it gets
displayed.

Guillaume


>
>
> Steven Calkins
> IT Consulting and Sales
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to