htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Add-Ons:
Simple question about custom buttons


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


snowball_br
New User

Dec 5, 2004, 7:07 PM

Post #1 of 1 (4612 views)
Shortcut
Simple question about custom buttons Can't Post

Hello guys,

Just a simple question: How to make a button that inserts a simple tag before and after some text? I tried the small tutorial on htmlarea.js (creating the "my-hilite" button) but it doesn't work correctly (I can't remove the hilite style from the text, for example).

Any tutorial/help?

Thanks a lot!

 
 
 


Search for (options)