Hi,
I want to create a custom button ( plugin ) with almost the same behaviour as the "underline" button.
Suppose I select a part of the text called "My text", when I click on this button I want to put the following tags around it :
<FONT COLOR="#6666FF"><U> My text </U></FONT>
And in the same way, when I select the text "My text", if there are already those two tags, I want to delete them.
Is it possible???
Thank you for your answers.
I want to create a custom button ( plugin ) with almost the same behaviour as the "underline" button.
Suppose I select a part of the text called "My text", when I click on this button I want to put the following tags around it :
<FONT COLOR="#6666FF"><U> My text </U></FONT>
And in the same way, when I select the text "My text", if there are already those two tags, I want to delete them.
Is it possible???
Thank you for your answers.
RE: custom button with custom behaviour
maybe my 'HOWTO - Work with the selection in the editor' helps: https://sourceforge.net/forum/forum.php ... _id=257180