diff options
author | Luiza Pagliari <lpagliari@gmail.com> | 2016-12-13 06:12:26 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 06:12:26 -0200 |
commit | 01d23b1f6a241d99a6d905e2778f9ba234928de6 (patch) | |
tree | 14301a8c8d645272d6d970a33fbe6d785a73e815 /doc | |
parent | da5ae8b1f7837b1f5b1f73a7f53c94e521901285 (diff) | |
parent | 56b851a46f4ed0aae537c2c3b7058d76d42a73d8 (diff) | |
download | etherpad-lite-01d23b1f6a241d99a6d905e2778f9ba234928de6.zip |
Merge pull request #2929 from xavidotron/develop
Pass through the "item" parameter to registerAceCommand callbacks.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/editbar.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/editbar.md b/doc/api/editbar.md index ce89c0b7..d4ad4c64 100644 --- a/doc/api/editbar.md +++ b/doc/api/editbar.md @@ -12,7 +12,7 @@ Shows the dropdown `div.popup` whose `id` equals `dropdown`. Register a handler for a specific command. Commands are fired if the corresponding button is clicked or the corresponding select is changed. ## registerAceCommand(cmd, callback) -Creates an ace callstack and calls the callback with an ace instance: `callback(cmd, ace)`. +Creates an ace callstack and calls the callback with an ace instance (and a toolbar item, if applicable): `callback(cmd, ace, item)`. Example: ``` |