Change default tab in the ckeditor

Make the “Media” tab to default when opening the link panel in the ckeditor

Litium version: 6.2.3-patch-1812141742

From the answer on I was adding the following into the /Site/Editor/globalConfig.js-file and get the Media as default tab. You need to try out to see if this fits your needs, otherwise you need to tweak the below code into what you need.

CKEDITOR.on('dialogDefinition', function (e) {
    if ( == 'link') {
        var dialog =;
        oldOnShow = dialog.onShow;
        dialog.onShow = function () {
            oldOnShow.apply(this, arguments);
            var self = this;
            window.setTimeout(function () {
            }, 50);