var container = new CKEDITOR.dom.element('span');
var rel = CKEDITOR.dom.element.createFromHtml('<span style="position:relative"/>');
container.append(rel);
- var progressBar = CKEDITOR.dom.element.createFromHtml('<span style="display:block; position:absolute; background:#ef8e32; height:4px; border-radius:2px; width:0"/>')
+ var progressBar = CKEDITOR.dom.element.createFromHtml(
+ '<span style="display:block; position:absolute; background:#ef8e32; height:4px; border-radius:2px; width:0; left:0; top:1em"/>');
rel.append(progressBar);
var link = new CKEDITOR.dom.element('a');
link.setAttribute('href', '#');
else {
proxy = this.createFileProxy(file);
this.editor.insertElement(proxy.container);
+ this.editor.insertText(' ');
this.uploadQueuePush(proxy);
}
}