Hi, as the question is of rookies, but I've been looking at the api and I can not figure out how to open the images with a default url. I use open the execCommand function, as follows.
var editor = CKEDITOR.instances.editor1;
editor.execCommand ('image');
This works fine, but I want to give some value. I tested with.
editor.execCommand ('image', {
url: myrURL,
});
It does not work. Please I need help.
Fri, 07/12/2013 - 15:22
#1
See this HOWTO article as
See this HOWTO article as well as the Using the JavaScript API to customize dialog windows sample.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
previsualición is not correct
Thanks, the information has been useful, but by establishing txtUrl field, the field is not updated correctly htmlPreview, and previsualición is not correct (missing src field), how I can update this field?. I tested with.
infoTab.get htmlPreview var = ('htmlPreview');
htmlPreview ['default'] = 'myhtml';
It does not work.
Then, to be tested with the
Then, to be tested with the API, I can not do what I want, which is to update the URL field value "dialog Image" dynamically, with the api get update the default value, but you need to refresh the page every time I want to change the field value.