I use the source code a lot to add links to our webpage. Unfortunately, this means that I end up typing the same phrases, especially <a href=", target="_blank", and </a><br /> over and over again.
Is there some way in the editor to assign these phrases to a set of keys so that they spit out every time I hit the right key?
Any help appreciated.
Joe Davies
New Zealand
Is there some way in the editor to assign these phrases to a set of keys so that they spit out every time I hit the right key?
Any help appreciated.
Joe Davies
New Zealand
Re: Custom hotkeys
You got different options...
Plugins:
You could create custom plugins for it. Here's how it can be done:
http://stackoverflow.com/questions/1957 ... cript-func
Sample: http://nightly.ckeditor.com/7617/_sampl ... ialog.html
Templates:
Or you could create templates (check demo to see how it works): http://ckeditor.com/demo
Keystrokes:
Or you can use the hotkeys function: http://docs.cksource.com/ckeditor_api/s ... keystrokes (maybe I should have put this at the top of the list)
Further explanation: http://stackoverflow.com/questions/3245 ... ith-jquery
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!