-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
plugin.json
34 lines (34 loc) · 842 Bytes
/
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
{
"id": "nodebb-plugin-ns-spoiler",
"name": "NodeBB Spoiler",
"description": "Spoiler. Ability to control visibility of the content in posts. Works better with Markdown syntax.",
"url": "https://github.com/NicolasSiver/nodebb-plugin-ns-spoiler",
"library": "./plugin/index.js",
"hooks": [
{
"hook": "filter:composer.help",
"method": "hooks.filters.composerHelp"
},
{
"hook": "filter:composer.formatting",
"method": "hooks.filters.composerFormatting"
},
{
"hook": "filter:parse.post",
"method": "hooks.filters.parsePost",
"priority": 7
},
{
"hook": "static:app.load",
"method": "hooks.statics.appLoad"
}
],
"less": [
"style/forum.less"
],
"scripts": [
"public/js/spoiler.js",
"public/js/composer.js"
],
"staticDirs": {}
}