mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
commit
1c6505f2e4
@ -241,7 +241,6 @@ class TinyMCEConfig extends HTMLEditorConfig
|
||||
'emoticons' => null,
|
||||
'paste' => null,
|
||||
'code' => null,
|
||||
'link' => null,
|
||||
'importcss' => null,
|
||||
);
|
||||
|
||||
|
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user