Prevent linebreaks in inline elements

Niklas Therning <[email protected]> Mon, 15 Nov 2004 10:28:16 +0100
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
Hi,

I'm new to BXE and so far it has served me well. I've run into a small 
problem regarding linebreaks:

In my RelaxNG I have an element, inline, which may only have text content:

<element name="inline">
    <attribute name="id"/>
    <text/>
</element>

The problem is that when I hit enter in the editor a new <p> will be 
created and whatever was in the <inline> before will be wrapped in 
another <p>. Is there any way I can prevent this behaviour?

The editor seems to know that <p> isn't allowed as a child of inline 
since I get an error message when saving: p is not allowed as child of 
inline.

I'm using 0.9.6 in Debian unstable version of Firefox 1.0.

Regards,
Niklas Therning

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