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