Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
03cb1338
Commit
03cb1338
authored
Dec 23, 2017
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rearrange CKEditor toolbar, remove clipboard buttons
parent
08d7f724
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
config.js
qa-plugin/wysiwyg-editor/ckeditor/config.js
+5
-7
No files found.
qa-plugin/wysiwyg-editor/ckeditor/config.js
View file @
03cb1338
...
...
@@ -9,16 +9,15 @@ CKEDITOR.editorConfig = function( config ) {
// The toolbar arrangement, two rows of buttons
config
.
toolbar
=
[
{
name
:
'basic'
,
items
:
[
'Bold'
,
'Italic'
,
'Underline'
,
'Strike'
,
'Subscript'
,
'Superscript'
]
},
{
name
:
'color'
,
items
:
[
'TextColor'
,
'BGColor'
]
},
{
name
:
'align'
,
items
:
[
'JustifyLeft'
,
'JustifyCenter'
,
'JustifyRight'
,
'JustifyBlock'
]
},
{
name
:
'font'
,
items
:
[
'Font'
,
'FontSize'
,
'Format'
]
},
{
name
:
'paragraph'
,
items
:
[
'NumberedList'
,
'BulletedList'
,
'Outdent'
,
'Indent'
,
'Blockquote'
]
},
{
name
:
'align'
,
items
:
[
'JustifyLeft'
,
'JustifyCenter'
,
'JustifyRight'
,
'JustifyBlock'
]
},
'/'
,
{
name
:
'paragraph'
,
items
:
[
'NumberedList'
,
'BulletedList'
,
'-'
,
'Outdent'
,
'Indent'
,
'Blockquote'
]
},
{
name
:
'basic'
,
items
:
[
'Bold'
,
'Italic'
,
'Underline'
,
'Strike'
,
'Subscript'
,
'Superscript'
]
},
{
name
:
'color'
,
items
:
[
'TextColor'
,
'BGColor'
]
},
{
name
:
'links'
,
items
:
[
'Link'
,
'Unlink'
]
},
{
name
:
'insert'
,
items
:
[
'Image'
,
'Table'
,
'HorizontalRule'
,
'SpecialChar'
,
'Smiley'
]
},
{
name
:
'clipboard'
,
items
:
[
'Cut'
,
'Copy'
,
'-'
,
'Undo'
,
'Redo'
]
},
{
name
:
'last'
,
items
:
[
'RemoveFormat'
,
'Maximize'
]
}
{
name
:
'last'
,
items
:
[
'Undo'
,
'Redo'
,
'RemoveFormat'
,
'Maximize'
]
}
];
// Set the most common block elements
...
...
@@ -33,5 +32,4 @@ CKEDITOR.editorConfig = function( config ) {
// Prevent blank paragraphs
config
.
fillEmptyBlocks
=
false
;
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment