Is it possible to detect URL's(make them clickable) in html editor automaticly like in plain text editor, not using tags and URL button?
thx for answer
Hi kiim11.
I think that this is not possible.
You need to code a event with shortcut (CTRL+L for example) on TinyMCE as this:
tinyMCE.init({
...
setup : function(ed) {
ed.onKeyUp.add(function(ed, e) {
// check for [CRTL] + [L]
if (e.keyCode == .....) {
ed.execCommand('mceInsertLink');
});
}
});
Regards,
there's "autolink" plugin for TinyMCE, you need to enable it in program/js/editor.js file.
Thank you Alec. ;)
Thx a lot, it works)