On Sep 5, 2008, at 9:56 PM, Edward Laptop wrote:
I have had a closer look at the code when I return to the wiki editor.
Here's the first line
{style:type=div|id=caastTopBox}{style:type=div}1
I assume these are macros? Perhaps I am wrong in thinking I can just
put
html into the wiki editor box - mayby I should be using these lovely
macros?
Yes you can use them for styling.
See
http://code.xwiki.org/xwiki/bin/view/Macros/StyleMacro
Thanks
-Vincent
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On
Behalf
Of Edward Laptop
Sent: 05 September 2008 20:52
To: XWiki Users
Subject: [xwiki-users] Editors changing styles!
Hi
I have been using the wiki editor to add some html (all div id="..",
and div
class="...") to create the look for the home page.
This was all progressing nicely and I was getting very close to the
end - or
so I thought!
I then switched to wysiwyg editor where I found that the look appears
unpredictable. On swithcing back to wiki editor all my lovely code has
disappeared to be replaced with in-line styles. When I tested the
page the
layout had fallen apart.
What am I doing wrong?
Should I only be using the wiki editor, and not attempting to use the
wysiwyg for this type of work?
Thanks all
Edward