mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-composer-quill.git
synced 2025-10-03 21:21:41 +08:00
50 lines
2.2 KiB
JSON
50 lines
2.2 KiB
JSON
{
|
|
"id": "nodebb-plugin-composer-quill",
|
|
"url": "https://github.com/NodeBB/nodebb-plugin-composer-quill",
|
|
"library": "library.js",
|
|
"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" }
|
|
],
|
|
"less": [
|
|
"../nodebb-plugin-composer-default/static/less/composer.less",
|
|
"./static/less/quill.less",
|
|
"./static/less/post.less",
|
|
"./static/less/overrides.less"
|
|
],
|
|
"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"
|
|
},
|
|
"acpScripts": [
|
|
"./static/lib/admin.js"
|
|
],
|
|
"scripts": [
|
|
"./static/lib/quill-nbb.js",
|
|
"./static/lib/client.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/autocomplete.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/categoryList.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/controls.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/drafts.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/formatting.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/preview.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/resize.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/scheduler.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/tags.js",
|
|
"../nodebb-plugin-composer-default/static/lib/composer/uploads.js",
|
|
"./node_modules/screenfull/dist/screenfull.js"
|
|
],
|
|
"templates": "static/templates"
|
|
}
|