web/data/cubicweb.fckcwconfig.js
author Rémi Cardona <remi.cardona@logilab.fr>
Wed, 28 Jan 2015 11:51:16 +0100
changeset 10164 2094262d6553
parent 8040 fca7fc7f5db8
permissions -rw-r--r--
[web/data] Fix userCallbackThenUpdateUI to completely replace old DOM elements Without the 'swap' parameter, userCallbackThenUpdateUI() would replace the _children_ of the component with a new version of the componenent, thus creating nested divs/spans/buttons/etc. Closes #4881299
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 ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3802
diff changeset
    14
FCKConfig.LinkBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
    15
FCKConfig.ImageUpload = false ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3802
diff changeset
    16
FCKConfig.ImageBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 0
diff changeset
    17
FCKConfig.FlashUpload = false ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 3802
diff changeset
    18
FCKConfig.FlashBrowser = false ;