Merge pull request #6936 from open-sausages/pulls/4.0/link-inline-toolbar

Remove "Remove link" button from the editor's main toolbar
This commit is contained in:
Chris Joe 2017-07-18 13:50:06 +12:00 committed by GitHub
commit 1c6505f2e4
2 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,6 @@ class TinyMCEConfig extends HTMLEditorConfig
'emoticons' => null,
'paste' => null,
'code' => null,
'link' => null,
'importcss' => null,
);

View File

@ -180,6 +180,7 @@ var editor = jQuery('#$inputFieldId').entwine('ss').getEditor(),
rng = document.createRange(),
matched = false;
editor.getInstance().focus();
jQuery(doc).find('body *').each(function() {
if(!matched) {
for(var i=0;i<this.childNodes.length;i++) {