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:
Word-Style "Ctrl-K" Hyperlink


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.

 


shawnharrison
New User

Sep 22, 2004, 11:51 PM

Post #1 of 1 (4225 views)
Shortcut
Word-Style "Ctrl-K" Hyperlink Can't Post

In the HTMLArea 3.0 Beta release, I wanted to hide all of the toolbar buttons, so I did that using my own config file. Then I wanted a way to insert a link. So I added the following line to htmlarea.js at line #1254:

Code
case 'k':  
this.execCommand("createlink", true);
HTMLArea._stopEvent(ev);
break;

It uses "Ctrl-K", which mimics the behavior of MS Word.
Perhaps someone else will find this useful.

 
 
 


Search for (options)