web/data/cubicweb.fckcwconfig.js
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 27 Apr 2011 16:38:01 +0200
changeset 7272 771f594c12a2
parent 3802 bc441a75f82c
child 8040 fca7fc7f5db8
permissions -rw-r--r--
[vreg] vregistry._select_best was needlessly instanciating NoSelectableObject (closes #1626708) in large selections, this incurred a non negligible cost (add_relations with 2000 inlined relations runs 7% faster with this patch)


FCKConfig.AutoDetectLanguage    = false ;

FCKConfig.ToolbarSets["Default"] = [
['Bold','Italic','Underline'],
['OrderedList','UnorderedList'],
['Link'],
['Table']
] ;
// 'Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','Form',
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','BulletedList','NumberedList','Table'] ;

FCKConfig.LinkUpload = false ;
FCKConfig.ImageUpload = false ;
FCKConfig.FlashUpload = false ;