web/data/cubicweb.fckcwconfig-full.js
author Rémi Cardona <remi.cardona@logilab.fr>, Julien Cristau <julien.cristau@logilab.fr>
Thu, 26 Nov 2015 11:30:54 +0100
changeset 10935 049209b9e9d6
parent 8040 fca7fc7f5db8
permissions -rw-r--r--
[qunit] stop dealing with filesystem paths qunit tests need a few things served by cubicweb: - qunit itself, which is now handled by CWDevtoolsStaticController (serving files in cubicweb/devtools/data) - standard cubicweb or cubes data files, handled by the DataController - the tests themselves and their dependencies. These can live in <apphome>/data or <apphome>/static and be served by one of the STATIC_CONTROLLERS This avoids having to guess in CWSoftwareRootStaticController where to serve things from (some files may be installed, others are in the source tree), and should hopefully make it possible to have these tests pass when using tox, and to write qunit tests for cubes, outside of cubicweb itself. This requires modifying the tests to only declare URL paths instead of filesystem paths, and moving support files below test/data/static.
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
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
     3
FCKConfig.AutoDetectLanguage = false ;
3802
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'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
     7
        ['Source'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     8
    // removed: 'Print','-','SpellCheck'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
     9
        ['Cut','Copy','Paste','PasteText','PasteWord'],
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    10
        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
3802
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'],
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    12
        '/',
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    13
    // ,'StrikeThrough','-','Subscript','Superscript'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    14
        ['Bold','Italic','Underline'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    15
    // ,'-','Outdent','Indent','Blockquote'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    16
        ['OrderedList','UnorderedList'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    17
    // ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    18
        ['Link','Unlink','Anchor'],
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    19
    // removed : 'Image','Flash','Smiley','PageBreak'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    20
        ['Table','Rule','SpecialChar']
3802
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'
6215
759cf097f5aa [javascript] get rid of tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 3802
diff changeset
    25
    // ['FitWindow','-','About']                // No comma for the last row.
3802
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 ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6215
diff changeset
    32
FCKConfig.LinkBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    33
FCKConfig.ImageUpload = false ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6215
diff changeset
    34
FCKConfig.ImageBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    35
FCKConfig.FlashUpload = false ;
8040
fca7fc7f5db8 [wysiwyg editor] disable server browsing by default
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6215
diff changeset
    36
FCKConfig.FlashBrowser = false ;
3802
bc441a75f82c [web ui] very simple default configuration for ckeditor
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    37