web/data/cubicweb.fckcwconfig-full.js
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 05 Jun 2014 16:13:48 +0200
branchstable
changeset 9766 5071b69b6b0b
parent 8040 fca7fc7f5db8
permissions -rw-r--r--
[pkg] prepare 3.18.5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     1
// cf /usr/share/fckeditor/fckconfig.js
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     2
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
     3
FCKConfig.AutoDetectLanguage = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     4
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     5
FCKConfig.ToolbarSets["Default"] = [
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     6
    // removed : 'Save','NewPage','DocProps','-','Templates','-','Preview'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
     7
        ['Source'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     8
    // removed: 'Print','-','SpellCheck'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
     9
        ['Cut','Copy','Paste','PasteText','PasteWord'],
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    10
        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    11
    //['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    12
        '/',
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    13
    // ,'StrikeThrough','-','Subscript','Superscript'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    14
        ['Bold','Italic','Underline'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    15
    // ,'-','Outdent','Indent','Blockquote'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    16
        ['OrderedList','UnorderedList'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    17
    // ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    18
        ['Link','Unlink','Anchor'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    19
    // removed : 'Image','Flash','Smiley','PageBreak'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    20
        ['Table','Rule','SpecialChar']
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    21
    // , '/',
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    22
    // ['Style','FontFormat','FontName','FontSize'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    23
    // ['TextColor','BGColor'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    24
    //,'ShowBlocks'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    25
    // ['FitWindow','-','About']                // No comma for the last row.
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    26
] ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    27
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    28
// 'Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','Form',
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    29
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','BulletedList','NumberedList','Table'] ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    30
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    31
FCKConfig.LinkUpload = false ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6215
diff changeset
    32
FCKConfig.LinkBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    33
FCKConfig.ImageUpload = false ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6215
diff changeset
    34
FCKConfig.ImageBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    35
FCKConfig.FlashUpload = false ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6215
diff changeset
    36
FCKConfig.FlashBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    37