Skip to content

Commit

Permalink
Remove Flash button from ckeditor toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCross committed Apr 11, 2024
1 parent a5b573e commit 2ddbbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/js/vendor/ckeditor/config.js
Expand Up @@ -25,7 +25,7 @@ CKEDITOR.editorConfig = function( config ) {
config.extraPlugins = 'dialog,widget,extmathjax,image3,codemirror,oembed,xotlink,xotmarkword,fontawesome,uploadimage,html5audio,xotrecorder,xotcolumns,rubytext,wrapstyle,link,emoji,xotlightbox,numericinput,lineheight,codesnippet,a11ychecker,find,editorplaceholder';
// The default plugins included in the basic setup define some buttons that
// we don't want too have in a basic editor. We remove them here.
config.removeButtons = 'Cut,Copy,Paste,Save,NewPage,Preview,Print,PageBreak,CreateDiv,Anchor,Smiley';
config.removeButtons = 'Cut,Copy,Paste,Save,NewPage,Preview,Print,PageBreak,CreateDiv,Anchor,Smiley,Flash';

config.format_tags = 'p;h3;h4;h5;h6;pre;address;div';
config.line_height="1rem;1.1rem;1.2rem;1.3rem;1.4rem;1.5rem;1.6rem;1.7rem;1.8rem;1.9rem;2rem;2.5rem;3rem;3.5rem;4rem" ;
Expand Down

0 comments on commit 2ddbbad

Please sign in to comment.