mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-10 08:55:00 -04:00
Moving the formatting buttons to a plugin.
This commit is contained in:
parent
e4ff4021ab
commit
103dc68e4d
7 changed files with 176 additions and 106 deletions
6
available_plugins/ep_formatting/plugin.js
Normal file
6
available_plugins/ep_formatting/plugin.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
var eejs = require('ep_etherpad-lite/node/eejs/');
|
||||
|
||||
exports.eejsBlock_editbarMenuLeft = function (hook_name, args, cb) {
|
||||
args.content = args.content + eejs.require("ep_formatting/templates/buttons.ejs");
|
||||
return cb();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue