1

I'm working on a dialog for a button in CKEditor 4.3. In the click handler version, I would like to update the content of the editor, but so far I only found functions to access the dialog elements. I'm looking for something similar than this.getParentEditor().getSelection().getSelectedElement() which works fine in the onShow function. Is it possible and how to access the content directly from the onClick function?

1 Answer 1

1

Ok, got it sorted out. I was able to get access via the this.getDialog().getParentEditor() function call.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.