Skip to content

Commit

Permalink
[K5.2] CKeditor | Reorder social icons and remove buttons #7502 (#7536)
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit authored Sep 23, 2020
1 parent e03e882 commit f0d804a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/media/kunena/core/js/ckeditor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/media/kunena/core/js/ckeditor_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CKEDITOR.editorConfig = function( config ) {
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'insert', groups: [ 'insert' ] },
{ name: 'social', groups: [ 'social' ] },
'/',
{ name: 'styles', groups: [ 'styles' ] },
{ name: 'colors', groups: [ 'colors' ] },
Expand All @@ -26,7 +27,7 @@ CKEDITOR.editorConfig = function( config ) {
{ name: 'about', groups: [ 'about' ] }
];

config.removeButtons = 'Save,NewPage,Preview,Print,Templates,Form,Radio,Checkbox,TextField,Textarea,Select,Button,ImageButton,HiddenField,Flash,Language';
config.removeButtons = 'Save,NewPage,Preview,Print,Templates,Form,Radio,Checkbox,TextField,Textarea,Select,Button,ImageButton,HiddenField,Flash,Language,PageBreak,Blockquote,Anchor,CreateDiv,ShowBlocks';

config.smiley_path = '/media/kunena/emoticons/';
config.smiley_images = [
Expand Down

0 comments on commit f0d804a

Please sign in to comment.