ckeditor-youtube-plugin
ckeditor-youtube-plugin copied to clipboard
remove a field, not just disable it
Hi, thanks for including an option to disable fields. However, is there a way to actually remove a field? :)
Totally agree. This would be great. I came across this super ugly workaround once (requires jQuery):
$(document).ready(function() {
setInterval(function() {
$('div[name="youtubePlugin"] .cke_disabled').hide();
$('div[name="youtubePlugin"] td.cke_dialog_ui_vbox_child span.cke_dialog_ui_html').hide();
}, 100);
});
It simply hides all elements of the YouTube plugin, that has been set to "disabled".
Meh, I grew tired of waiting and fully adjusted the plugin to suit my own needs and removed all the fields I will never need, less cruft.