Remove specialchar button

This commit is contained in:
Laurent Destailleur 2022-10-23 17:56:54 +02:00
parent b6d0f9b997
commit 9f0eaf58a9
3 changed files with 11 additions and 11 deletions

View File

@ -163,7 +163,7 @@ class DolEditor
$skin = 'moono-lisa'; // default with ckeditor 4.6 : moono-lisa
}
$pluginstodisable = 'elementspath,save,flash,div,specialchar';
$pluginstodisable = 'elementspath,save,flash,div,specialchar,anchor';
if (!empty($conf->dol_optimize_smallscreen)) {
$pluginstodisable .= ',scayt,wsc,find,undo';
}
@ -198,7 +198,7 @@ class DolEditor
htmlEncodeOutput:'.$htmlencode_force.',
allowedContent:'.($disallowAnyContent ? 'false' : 'true').', /* Advanced Content Filter (ACF) is own when allowedContent is false */
extraAllowedContent: \'a[target];div{float,display}\', /* Add the style float and display into div to default other allowed tags */
disallowedContent: '.($disallowAnyContent ? '\'\'' : '\'\'').', /* Tags that are not allowed */
disallowedContent: '.($disallowAnyContent ? '\'\'' : '\'\'').', /* Tags that are not allowed */
fullPage: '.($fullpage ? 'true' : 'false').', /* if true, the html, header and body tags are kept */
toolbar: \''.$this->toolbarname.'\',
toolbarStartupExpanded: '.($this->toolbarstartexpanded ? 'true' : 'false').',

View File

@ -46,8 +46,8 @@ CKEDITOR.editorConfig = function( config )
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['BidiLtr', 'BidiRtl'],
['Link','Unlink','Anchor'],
['Image','Table','HorizontalRule','Smiley','SpecialChar'],
['Link','Unlink'],
['Image','Table','HorizontalRule','Smiley'],
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Source']
@ -64,7 +64,7 @@ CKEDITOR.editorConfig = function( config )
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'],
['NumberedList','BulletedList','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar'],
['Link','Unlink','Image','Table','HorizontalRule'],
['Source']
];
@ -78,7 +78,7 @@ CKEDITOR.editorConfig = function( config )
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'],
['NumberedList','BulletedList','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar'],
['Link','Unlink','Image','Table','HorizontalRule'],
['Source']
];

View File

@ -46,8 +46,8 @@ CKEDITOR.editorConfig = function( config )
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['BidiLtr', 'BidiRtl'],
['Link','Unlink','Anchor'],
['Image','Table','HorizontalRule','Smiley','SpecialChar'],
['Link','Unlink'],
['Image','Table','HorizontalRule','Smiley'],
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Source']
@ -64,7 +64,7 @@ CKEDITOR.editorConfig = function( config )
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'],
['NumberedList','BulletedList','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar'],
['Link','Unlink','Image','Table','HorizontalRule'],
['Source']
];
@ -78,7 +78,7 @@ CKEDITOR.editorConfig = function( config )
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'],
['NumberedList','BulletedList','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar'],
['Link','Unlink','Image','Table','HorizontalRule'],
['Source']
];
@ -91,7 +91,7 @@ CKEDITOR.editorConfig = function( config )
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'], // ,'Subscript','Superscript' useless
['NumberedList','BulletedList','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','SpecialChar'],
['Link','Unlink'],
['Source']
];