2014-11-04, 05:40:02
You can define this before cke inits, js global linkdefault
You can also write your own ondialogdefinition
content.setup = function(data) {}
To override the one core loads
but you probably cannot modify it with jquery since that code gets instantiated every time a dialog opens
But this is tied to all ckeditor instances, it gets to be a pain if you need to modify individual ckeditors.
Code:
<script type="text/javascript">
var linkdefault = 'url';
</script>
You can also write your own ondialogdefinition
content.setup = function(data) {}
To override the one core loads
but you probably cannot modify it with jquery since that code gets instantiated every time a dialog opens
But this is tied to all ckeditor instances, it gets to be a pain if you need to modify individual ckeditors.