Guillaume

It worked! 
Thanks

Steven Calkins
IT-Beratung und Vertrieb

CMS - Cross Media Solutions GmbH
Beethovenstraße 5 A
97080 Würzburg
Tel: +49 (931) 385 - 351
Fax: +49 (931) 385 - 364
Mobil: +49 (175) 5758790
E-Mail: [email protected]
Internet: http://www.crossmediasolutions.de
Handelsregister: Würzburg HRB 8950
Geschäftsführer: Michael Schardt

member of Euradius 
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von 
Steven Calkins
Gesendet: Donnerstag, 6. August 2009 11:47
An: XWiki Users
Betreff: Re: [xwiki-users] Bug with <ol><ul> etc

Hi Guillaume, 

I am using XE 1.9 in XWiki 1.0 syntax. I'll try switching this page to XWiki 
2.0 syntax and insert the code as you suggest. 

Thanks


Steven Calkins
IT-Beratung und Vertrieb

CMS - Cross Media Solutions GmbH
Beethovenstraße 5 A
97080 Würzburg
Tel: +49 (931) 385 - 351
Fax: +49 (931) 385 - 364
Mobil: +49 (175) 5758790
E-Mail: [email protected]
Internet: http://www.crossmediasolutions.de
Handelsregister: Würzburg HRB 8950
Geschäftsführer: Michael Schardt

member of Euradius
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von 
Guillaume Lerouge
Gesendet: Donnerstag, 6. August 2009 11:35
An: XWiki Users
Betreff: Re: [xwiki-users] Bug with <ol><ul> etc

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
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to