Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Arteneo
/
CKEditor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Authored by
Emil
2015-05-18 16:47:57 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0c8518e2fe7843e07c667d5d3e5c4881f1a72dc8
0c8518e2
1 parent
4e248de2
config
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
7 deletions
config.js
config.js
View file @
0c8518e
...
...
@@ -4,23 +4,41 @@
*/
CKEDITOR
.
editorConfig
=
function
(
config
)
{
// alert('df');
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
// config.uiColor = '#AADC6E';
// config.uiColor = 'fff';
// config.toolbar = [
// {name: 'document', groups: ['mode', 'document', 'doctools'], items: ['Source', '-', 'Save', '-', 'Templates']},
// {name: 'clipboard', groups: ['clipboard', 'undo'], items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']},
// '/',
// {name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']},
// {name: 'insert', items: ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe']},
// {name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'], items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl']},
// {name: 'links', items: ['Link', 'Unlink', 'Anchor']},
// '/',
// {name: 'styles', items: ['Format', 'Font', 'FontSize']},
// {name: 'colors', items: ['TextColor', 'BGColor']},
// {name: 'editing', groups: ['find', 'selection', 'spellchecker'], items: ['Replace']},
// {name: 'tools', items: ['Maximize', 'ShowBlocks']},
// {name: 'others', items: ['-']},
// {name: 'about', items: ['About']}
// ];
//
config
.
toolbar
=
[
{
name
:
'document'
,
groups
:
[
'mode'
,
'document'
,
'doctools'
],
items
:
[
'Source'
,
'-'
,
'Save'
,
'-'
,
'Templates'
]},
{
name
:
'clipboard'
,
groups
:
[
'clipboard'
,
'undo'
],
items
:
[
'Cut'
,
'Copy'
,
'Paste'
,
'PasteText'
,
'PasteFromWord'
,
'-'
,
'Undo'
,
'Redo'
]},
{
name
:
'editing'
,
groups
:
[
'find'
,
'selection'
,
'spellchecker'
],
items
:
[
'Replace'
]},
'/'
,
{
name
:
'document'
,
groups
:
[
'mode'
,
'document'
,
'doctools'
,
'clipboard'
,
'undo'
],
items
:
[
'Source'
,
'-'
,
'Save'
,
'-'
,
'Templates'
,
'Cut'
,
'Copy'
,
'Paste'
,
'PasteText'
,
'PasteFromWord'
,
'-'
,
'Undo'
,
'Redo'
]},
{
name
:
'basicstyles'
,
groups
:
[
'basicstyles'
,
'cleanup'
],
items
:
[
'Bold'
,
'Italic'
,
'Underline'
,
'Strike'
,
'Subscript'
,
'Superscript'
,
'-'
,
'RemoveFormat'
]},
{
name
:
'insert'
,
items
:
[
'Image'
,
'Flash'
,
'Table'
,
'HorizontalRule'
,
'Smiley'
,
'SpecialChar'
,
'PageBreak'
,
'Iframe'
]},
{
name
:
'paragraph'
,
groups
:
[
'list'
,
'indent'
,
'blocks'
,
'align'
,
'bidi'
],
items
:
[
'NumberedList'
,
'BulletedList'
,
'-'
,
'Outdent'
,
'Indent'
,
'-'
,
'Blockquote'
,
'CreateDiv'
,
'-'
,
'JustifyLeft'
,
'JustifyCenter'
,
'JustifyRight'
,
'JustifyBlock'
,
'-'
,
'BidiLtr'
,
'BidiRtl'
]},
{
name
:
'links'
,
items
:
[
'Link'
,
'Unlink'
,
'Anchor'
]},
{
name
:
'insert'
,
items
:
[
'Image'
,
'Flash'
,
'Table'
,
'HorizontalRule'
,
'Smiley'
,
'SpecialChar'
,
'PageBreak'
,
'Iframe'
]},
'/'
,
{
name
:
'styles'
,
items
:
[
'Format'
,
'Font'
,
'FontSize'
]},
{
name
:
'colors'
,
items
:
[
'TextColor'
,
'BGColor'
]},
{
name
:
'editing'
,
groups
:
[
'find'
,
'selection'
,
'spellchecker'
],
items
:
[
'Replace'
]},
{
name
:
'tools'
,
items
:
[
'Maximize'
,
'ShowBlocks'
]},
{
name
:
'others'
,
items
:
[
'-'
]},
{
name
:
'about'
,
items
:
[
'About'
]}
];
};
...
...
Please
register
or
login
to post a comment