-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathplugin.json
48 lines (48 loc) · 2.54 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"id": "nodebb-plugin-composer-quill",
"url": "https://github.com/NodeBB/nodebb-plugin-composer-quill",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:composer.build", "method": "build" },
{ "hook": "filter:post.create", "method": "savePost" },
{ "hook": "filter:post.edit", "method": "savePost" },
{ "hook": "filter:post-queue.save", "method": "savePostQueue" },
{ "hook": "filter:composer.push", "method": "append" },
{ "hook": "filter:messaging.save", "method": "saveChat" },
{ "hook": "filter:messaging.edit", "method": "saveChat" },
{ "hook": "filter:post.getRawPost", "method": "handleRawPost" },
{ "hook": "filter:messaging.getFields", "method": "handleMessageEdit" },
{ "hook": "filter:messaging.checkContent", "method": "handleMessageCheck" }
],
"scss": [
"../nodebb-plugin-composer-default/static/scss/composer.scss",
"./static/scss/quill.scss",
"./static/scss/post.scss",
"./static/scss/overrides.scss"
],
"modules": {
"quill.js": "./node_modules/quill/dist/quill.js",
"quill-magic-url.js": "./node_modules/quill-magic-url/dist/index.js",
"quill-emoji.js": "./static/lib/emoji.js",
"composer.js": "../nodebb-plugin-composer-default/static/lib/composer.js",
"composer/categoryList.js": "../nodebb-plugin-composer-default/static/lib/composer/categoryList.js",
"composer/controls.js": "../nodebb-plugin-composer-default/static/lib/composer/controls.js",
"composer/drafts.js": "../nodebb-plugin-composer-default/static/lib/composer/drafts.js",
"composer/formatting.js": "../nodebb-plugin-composer-default/static/lib/composer/formatting.js",
"composer/preview.js": "../nodebb-plugin-composer-default/static/lib/composer/preview.js",
"composer/resize.js": "../nodebb-plugin-composer-default/static/lib/composer/resize.js",
"composer/scheduler.js": "../nodebb-plugin-composer-default/static/lib/composer/scheduler.js",
"composer/tags.js": "../nodebb-plugin-composer-default/static/lib/composer/tags.js",
"composer/uploads.js": "../nodebb-plugin-composer-default/static/lib/composer/uploads.js",
"composer/autocomplete.js": "../nodebb-plugin-composer-default/static/lib/composer/autocomplete.js",
"composer/post-queue.js": "../nodebb-plugin-composer-default/static/lib/composer/post-queue.js",
"../admin/plugins/composer-quill.js": "./static/lib/admin.js"
},
"scripts": [
"./static/lib/quill-nbb.js",
"./static/lib/client.js",
"./node_modules/screenfull/dist/screenfull.js"
],
"templates": "static/templates"
}