Steven Calkins wrote: > 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. >
The old WYSIWYG editor is full of bugs and unmaintained (and unmaintainable), please try to use the 2.0 syntax and the new editor. > > -----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 > -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
