I have a CKEditor instance with inline editing enabled. It works fine, but I also have an [Edit] button which I want to trigger inline editing (and focus on the text) when the button is clicked.
Is this possible?
Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.
I have a CKEditor instance with inline editing enabled. It works fine, but I also have an [Edit] button which I want to trigger inline editing (and focus on the text) when the button is clicked.
Is this possible?
CKEDITOR.editor.focus()
to do this (see on jsFiddle).You can use like this
try this javascript code to solve : focus the ckeditor inline