edit/page: restore link widgets to fix relative locations
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 1 Aug 2018 21:03:57 +0000 (23:03 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 4 Aug 2018 22:05:03 +0000 (00:05 +0200)
Apparently hiding the link type causes internal references to be silently
rejected.

edit/page.js

index e40b376ac89a8f34e7fb16071fcba569662e9319..e2475a7e2de83140b89a36a8382bfd946f166973 100644 (file)
@@ -49,9 +49,8 @@ CKEDITOR.on('dialogDefinition', function (event) {
                infoTab.get('txtCellPad').default = '';
                break;
        case 'link':
-               // remove unneeded widgets from the Link Info tab
+               //TODO: remove unneeded widgets from the Link Info tab
                var infotab = event.data.definition.getContents('info');
-               infotab.remove('linkType');
                break;
        }
 });