Please send your javascript code for that part (how you replace <p> with <h2>) so that I can understand better what you're trying to do.
Henri > Ok Henry i have another question. > If i have this situation > > <p>pippo (<b>pippo1 ciao</b>) ciao1</p> > > and i have selected from all element b > ()= selected zone > > so when i replace this node with <h2>pippo <b>pippo1 ciao</b> > ciao1</h2> i have lost the selection and the focus. > > i don't understand how i obtain again same selection and set new focus > in new node > > > > Thanks Stefano > _______________________________________________ mozilla-editor mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-editor
