1

I'm using Joomla and it's integrated TinyMCE editor. I would like to use a shortcut like shift+space or ctrl+shift+space to insert a non breaking space fast and simple instead of to have to click a button in the toolbar.

I've found a blog article from Ryan Pollard about adding shurtcuts in TinyMCE. But I don't know, where I have to add the code.

I'm not a programmer. Could you help me to add this shortcut?

Thanks in advance

Best regards, Andreas

1

You have to write a TinyMCE Plugin:

https://www.tinymce.com/docs/advanced/creating-a-plugin/

And use the TinyMCE-Api to inject your shortcut:

https://www.tinymce.com/docs/api/tinymce/tinymce.shortcuts/

How to add your plugin to TinyMCE:

Creating custom plugin for tinymce

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.