-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplugin.json
57 lines (57 loc) · 1.65 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
49
50
51
52
53
54
55
56
57
{
"id": "nodebb-plugin-bbcodes",
"name": "NodeBB BBCode Support",
"description": "BBCode parser for NodeBB. It is strongly recommended to turn nodebb-plugin-markdown off to prevent collisions",
"url": "https://github.com/APXEOLOG/nodebb-plugin-bbcodes",
"library": "./library.js",
"templates": "./templates",
"hooks": [{
"hook": "filter:parse.post",
"method": "parse",
"priority": 6
}, {
"hook": "static:app.load",
"method": "load"
}, {
"hook": "filter:admin.header.build",
"method": "extendAdminMenu"
}, {
"hook": "filter:post.save",
"method": "onPostSave"
}, {
"hook": "filter:post.edit",
"method": "onPostEdit"
}, {
"hook": "action:post.purge",
"method": "onPostPurge"
}, {
"hook": "filter:post.getFields",
"method": "onPostGetFields"
}],
"staticDirs": {
"static": "./static"
},
"scripts": [
"./static/client.js",
"./static/jquery.wysibb.js",
"./static/buttons.js",
"./static/composer.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/tags.js",
"../nodebb-plugin-composer-default/static/lib/composer/uploads.js"
],
"less": [
"../nodebb-plugin-composer-default/static/less/composer.less"
],
"css": [
"./static/css/wbbtheme.css"
],
"nbbpm": {
"compatibility": "^0.7.0"
}
}