-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathhooks.js
More file actions
28 lines (22 loc) · 867 Bytes
/
hooks.js
File metadata and controls
28 lines (22 loc) · 867 Bytes
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
'use strict';
const eejs = require('ep_etherpad-lite/node/eejs');
exports.eejsBlock_editbarMenuLeft = (hookName, args, cb) => {
args.content += eejs.require('ep_special_characters/templates/editbarButtons.ejs', {}, module);
cb();
};
exports.eejsBlock_body = (hookName, args, cb) => {
args.content += eejs.require('ep_special_characters/templates/modals.ejs', {}, module);
cb();
};
exports.eejsBlock_scripts = (hookName, args, cb) => {
args.content += eejs.require('ep_special_characters/templates/scripts.ejs', {}, module);
cb();
};
exports.eejsBlock_styles = (hookName, args, cb) => {
args.content += eejs.require('ep_special_characters/templates/styles.ejs', {}, module);
cb();
};
exports.eejsBlock_dd_insert = (hookName, args, cb) => {
args.content += eejs.require('ep_special_characters/templates/special_characters_menu.ejs');
cb();
};