web/data/cubicweb.fckcwconfig.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 15 Feb 2010 17:47:50 +0100
branchstable
changeset 4585 912aba7e6400
parent 3802 bc441a75f82c
child 8040 fca7fc7f5db8
permissions -rw-r--r--
[inlined formos] don't pop attributes from kwargs, so they end-up in cw_extra_kwargs which is then passed to the edition form
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: 0
diff changeset
     1
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     2
FCKConfig.AutoDetectLanguage    = false ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     3
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     4
FCKConfig.ToolbarSets["Default"] = [
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     5
['Bold','Italic','Underline'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     6
['OrderedList','UnorderedList'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     7
['Link'],
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     8
['Table']
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
     9
] ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
    10
// '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: 0
diff changeset
    11
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: 0
diff changeset
    12
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
    13
FCKConfig.LinkUpload = false ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
    14
FCKConfig.ImageUpload = false ;
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
    15
FCKConfig.FlashUpload = false ;