Hi,
I have to customize the link dialog and display on a new tab some elements. The elements that I display are decided by a logic in an AJAX request.
The ajax request will give me information on what elements to show and so on.
The problem is that I did not figure out how to show the elements.
I have something like
CKEDITOR.on('dialogDefinition', function (ev) {
// Take the dialog name and its definition from the event
// data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
var dialog = e.data.definition.dialog;
// Check if the definition is from the dialog we're interested on (the "Link" dialog).
if (dialogName == 'link') {
dialogDefinition.onShow = function () {
I have tried the onShow, onLoad events but the elements do not show.
Can someone help me? Thanks