Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Toggle text class at end of tag: msg#00000

Subject: Toggle text class at end of tag
Hi Christian,

I'm having an interesting problem with toggling of text classes where the
selection is right up to the end of the tag.

For example, if I have

<para>Some text</para>
<para>Some other text</para>

and I attempt to make "text" in the first <para> tag bold, the first and
second para tags then merge into each other. If I make anything bold that
doesn't include the last "t" of "text", it works fine. This is repeatable in
the inline example - but only on text typed in since the editor was loaded.

In my own code, I had table <cell> elements, and if I attempted to make the
last character of text in the element bold or whatever, the bold tag would
end up *outside* the <cell> tag! I.e. <b><cell>Text</cell></b>. I guess this
could be the same problem as above.

Thanks!
Pete Bowman.


--
bx-editor-dev mailing list
bx-editor-dev@xxxxxxxxxxxxxxxx
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev



<Prev in Thread] Current Thread [Next in Thread>