CCM NG: Added some files to to the wildfly-swarm bundle
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5230 8810af33-2d31-482b-a856-94f89814c4df
parent
0c451ff8ab
commit
7c775f7bf8
|
|
@ -0,0 +1 @@
|
||||||
|
waf.config.packages=ccm-core
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
requirejs(["./ccm-editor",
|
||||||
|
"./ccm-cms-editor",
|
||||||
|
"../webjars/requirejs-domready/2.0.1/domReady!"],
|
||||||
|
function(editor, cmseditor, doc) {
|
||||||
|
|
||||||
|
editor.addEditor(".editor-textarea", {
|
||||||
|
"commandGroups": [
|
||||||
|
{
|
||||||
|
"name": "blocks",
|
||||||
|
"title": "Format blocks",
|
||||||
|
"commands": [
|
||||||
|
editor.FormatBlockCommand
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "format-text",
|
||||||
|
"title": "Format text",
|
||||||
|
"commands": [
|
||||||
|
editor.MakeBoldCommand,
|
||||||
|
editor.MakeItalicCommand,
|
||||||
|
editor.MakeUnderlineCommand,
|
||||||
|
editor.StrikeThroughCommand,
|
||||||
|
editor.SubscriptCommand,
|
||||||
|
editor.SuperscriptCommand,
|
||||||
|
editor.RemoveFormatCommand,
|
||||||
|
editor.InsertExternalLinkCommand,
|
||||||
|
cmseditor.InsertInternalLinkCommand,
|
||||||
|
cmseditor.InsertMediaAssetCommand
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "insert-list",
|
||||||
|
"title": "Insert list",
|
||||||
|
"commands": [
|
||||||
|
editor.InsertUnorderedListCommand,
|
||||||
|
editor.InsertOrderedListCommand
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "html",
|
||||||
|
"title": "HTML",
|
||||||
|
"commands": [editor.ToggleHtmlCommand]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"ccm-editor-css.path": "/libreccm/ccm-editor/ccm-editor.css",
|
||||||
|
"font-awesome.path": "/libreccm/webjars/font-awesome/4.7.0/css/font-awesome.min.css",
|
||||||
|
"formatBlock.blocks": [
|
||||||
|
{
|
||||||
|
"element": "h3",
|
||||||
|
"title": "Heading 3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"element": "h4",
|
||||||
|
"title": "Heading 4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"element": "h5",
|
||||||
|
"title": "Heading 5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"element": "h6",
|
||||||
|
"title": "Heading 6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"element": "p",
|
||||||
|
"title": "Paragraph"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue