web/data/cubicweb.fckcwconfig-full.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Dec 2009 11:57:03 +0100
branchstable
changeset 4203 e972fc306719
parent 3802 bc441a75f82c
child 6215 759cf097f5aa
permissions -rw-r--r--
Added tag cubicweb-debian-version-3.5.11-1 for changeset 4920121d41f2
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
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     3
FCKConfig.AutoDetectLanguage	= false ;
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'
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     7
	['Source'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     8
    // removed: 'Print','-','SpellCheck'
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     9
	['Cut','Copy','Paste','PasteText','PasteWord'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    10
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
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'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    12
	'/',
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    13
    // ,'StrikeThrough','-','Subscript','Superscript'
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    14
	['Bold','Italic','Underline'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    15
    // ,'-','Outdent','Indent','Blockquote'
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    16
	['OrderedList','UnorderedList'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    17
    // ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    18
	['Link','Unlink','Anchor'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    19
    // removed : 'Image','Flash','Smiley','PageBreak'
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    20
	['Table','Rule','SpecialChar']
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'
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    25
    // ['FitWindow','-','About']		// No comma for the last row.
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 ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    32
FCKConfig.ImageUpload = false ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    33
FCKConfig.FlashUpload = false ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    34