Re: strange behaviour in the first paragraph

Christian Stocker <[email protected]> Mon, 01 Nov 2004 15:22:16 +0100
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>

On 1.11.2004 12:49 Uhr, Patrick Kollitsch wrote:
> hi,
> 
> we have some strange behaviour in the first paragraph (or 
> top-level-element) of every page in bitflux.
> 
> we have p (included from the xhtml-namespace) and our tag <fett> which 
> is formatted and described in the schema like the xhtml-bold. that works 
> on every position. but if the p is the first toplevelelement of the 
> content and the whole paragraph is set to fett bitflux loses all 
> content. at saving it sends only an empty <p/>.
> 
> we tried a workaround like follows: insert a whitespace at the beginning 
> and the end of the paragraph and format only the text between the 
> whitespaces. that seemed to work, but didn“t. this time only the whole 
> paragraph disappeared. in tag-view here we had only the paragraph-tag, 
> the text between the p-tags was bolded (visible but without fett-tag). 
> in the sourceview ther was only an empty <p/>.
> 
> the bug seems to work with a namespace-problem because while testing the 
> online-demo of bxe for the same behaviour at [1] the tagview after 
> formatting the first paragraph bold only showed <b> tags instead of 
> <xhtml:b>.
> 
> [1] http://cvsdemo.bitfluxeditor.org/examples/inlineXHTML/index.html

That's strange. I'll try to have a look at this. It works for me on the 
demo... And certainly strange, that this only happens on the first paragraph

chregu

> any idea?
> 
> thanks
> patrick

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users