» Forums
» HTMLArea
» General discussion
» surroundHTML Problem
| surroundHTML Problem ¶ | |
| Love the editor (as do most!). I have created a number of my own buttons/functions and am running into a problem with surroundHTML(). If, after the first "insert", I click on the editor, then call surroundHTML() again, all is fine. Example: Two new buttons... 1. editor.surroundHTML('<p class=one>','</p>') 2. editor.surroundHTML('<p class=two>','</p>') Any suggestions would help tremendously. | |
(*) Discounts available for the above products!













