mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
Added docs and search. (#6273)
* Added docs and search. * Fixed pull request runs.
This commit is contained in:
parent
6def26b2f0
commit
abfadd493c
8 changed files with 253 additions and 56 deletions
|
@ -1,14 +1,22 @@
|
|||
# Editbar
|
||||
src/static/js/pad_editbar.js
|
||||
|
||||
Located in `src/static/js/pad_editbar.js`
|
||||
|
||||
## isEnabled()
|
||||
|
||||
If the editorbar contains the class `enabledtoolbar`, it is enabled.
|
||||
|
||||
|
||||
## disable()
|
||||
|
||||
Disables the editorbar. This is done by adding the class `disabledtoolbar` and removing the enabledtoolbar
|
||||
|
||||
## toggleDropDown(dropdown)
|
||||
|
||||
Shows the dropdown `div.popup` whose `id` equals `dropdown`.
|
||||
|
||||
## registerCommand(cmd, callback)
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue