summaryrefslogtreecommitdiffstats
path: root/editors/ckeditor_4_4/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'editors/ckeditor_4_4/config.js')
-rw-r--r--editors/ckeditor_4_4/config.js38
1 files changed, 35 insertions, 3 deletions
diff --git a/editors/ckeditor_4_4/config.js b/editors/ckeditor_4_4/config.js
index c8c1289..fe67362 100644
--- a/editors/ckeditor_4_4/config.js
+++ b/editors/ckeditor_4_4/config.js
@@ -13,12 +13,32 @@ var site_url = $('#srv_site_url').val();
var lang_code = 'sl';
CKEDITOR.editorConfig = function (config) {
- //config.language = 'sl';
- config.skin = 'moonocolor';
+
+ //config.skin = 'moonocolor';
+ config.skin = 'moono-lisa';
+ config.uiColor = '#FFFFFF';
+
+ config.removePlugins = 'elementspath, resize';
lang_code = config.language;
+
config.toolbar = [
+ {name: 'source', items: ['Source']},
+ {name: 'clipboard', items: ['Undo', 'Redo', 'RemoveFormat']},
+ {name: 'font-type', items: ['Font']},
+ {name: 'font-size', items: ['FontSize']},
+ {name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike']},
+ {name: 'colors', items: ['TextColor', 'BGColor']},
+ {name: 'align', items: ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']},
+ {name: 'list', items: ['NumberedList', 'BulletedList']},
+ {name: 'links', items: ['Link', 'Unlink', 'Image', 'SpecialChar']},
+ {name: 'other', items: ['HorizontalRule', 'Abbr']},
+ {name: 'more', items: ['More']},
+ {name: 'less', items: ['Less']},
+ ];
+
+ /*config.toolbar = [
{name: 'document', items: ['Source', '-']},
{name: 'clipboard', items: ['PasteText','RemoveFormat', 'Undo', 'Redo', 'Scayt']},
{name: 'basicstyles', items: ['Bold', 'Underline', 'Italic', 'Strike', '-']},
@@ -27,7 +47,7 @@ CKEDITOR.editorConfig = function (config) {
{name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock','-']},
{name: 'insert', items: ['CreateDiv', 'Flash', 'Table', 'IFrame', 'Youtube', 'Abbr']},
{name: 'vec', items:['-', 'Styles', 'Format', 'FontSize', 'Font', 'Outdent', 'Indent', 'HorizontalRule']}
- ];
+ ];*/
config.toolbar_Full = [
{name: 'document', items: ['Source', '-']},
@@ -74,6 +94,15 @@ CKEDITOR.editorConfig = function (config) {
//{name: 'insert', items: ['Image', 'ImageMap']}
{name: 'insert', items: ['Image']}
];
+ config.toolbar_Notification = [
+ {name: 'document', items: ['Source', '-']},
+ {name: 'clipboard', items: ['PasteText','RemoveFormat', 'Undo', 'Redo', 'Scayt']},
+ {name: 'basicstyles', items: ['Bold', 'Underline', 'Italic', 'Strike', '-']},
+ {name: 'links', items: ['Link', 'Unlink', 'Image', 'SpecialChar']},
+ {name: 'colors', items: ['TextColor', 'BGColor']},
+ {name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock','-']},
+ {name: 'vec', items:['-', 'FontSize', 'Font', 'Outdent', 'Indent']}
+ ];
config.removeButtons = 'Cut,Copy,Paste,Subscript,Superscript';
@@ -106,6 +135,9 @@ CKEDITOR.editorConfig = function (config) {
//DEV TOOLS
//config.extraPlugins = 'devtools';
+ // Dodamo se nas source sans pro font na zacetek
+ config.font_names = 'Source Sans Pro;'+config.font_names;
+
/*YOUTUBE EMBED CONFIG*/
config.youtube_width = '560';
config.youtube_height = '315';