mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
Integrated hooks into templates and provided a blokc/hook for the left and right editbar menu
This commit is contained in:
parent
05c2e0fde5
commit
a5366a0a16
5 changed files with 83 additions and 57 deletions
|
@ -14,3 +14,12 @@ exports.expressServer = function (hook_name, args, cb) {
|
|||
res.send("<em>Abra cadabra</em>");
|
||||
});
|
||||
}
|
||||
|
||||
exports.eejsBlock_editbarMenuLeft = function (hook_name, args, cb) {
|
||||
args.content = args.content + '\
|
||||
<li id="testButton" onClick="window.pad&&pad.editbarClick(\'clearauthorship\');return false;">\
|
||||
<a class="buttonicon buttonicon-test" title="Test test test"></a>\
|
||||
</li>\
|
||||
';
|
||||
return cb();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue