Reputation: 169
How can i get instances of plugin dialog window contents elemets to manipulate its for example set the value of an input field in dialog window of plugin "image"?
Upvotes: 0
Views: 2424
Reputation: 15895
Use the following to retrieve the native DOM element of a field (already opened dialog):
CKEDITOR.dialog.getCurrent().getContentElement( 'info', 'txtUrl' ).getInputElement().$
To dynamically set field's value when the dialog is shown, please refer to my previous answer.
Upvotes: 1