Re: lenya bxe problem

Christian Stocker <[email protected]> Fri, 14 Jan 2005 22:26:52 +0100
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
Hi

<snip badly quoted stuff />

I found the problem. The example in lenya (and all examples of BXE based 
on some XHTML elements) expect that the XHTML tags are in the XHTML 
namespace. You don't define a namespace, therefore they are not display 
as you expect it, because BXE treats them as XML elements and not as 
XHTML elements. If you don't want to use the XHTML namespace for your 
elements within the upper/lower/main tags, you have to write some CSS 
for them. See this page:
http://wiki.bitfluxeditor.org/CSS
for some explanation about how to do that.

The buttons do not work, because the also want to insert a b element in 
the xhtml namespace and not only a b, which is not allowed according to 
your RelaxNG. You have to adjust the config.xml ( the buttons part) to 
change that.

But I strongly recomment using the XHTML namespace, if you want to use 
XHTML elements (and having them displayed as such, meaning that b is 
displayed bold, etc). It saves you a lot of work.

chregu
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users