web/data/cubicweb.fckcwconfig-full.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 21 May 2010 13:34:03 +0200
changeset 5561 58b05c314443
parent 3802 bc441a75f82c
child 6215 759cf097f5aa
permissions -rw-r--r--
[selectors] ensure adaptable('IDownloadable') takes precedence over implements('Any')
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