mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Merge pull request #16 from craigmarvelley/master
Expose list nesting level in README and demo toolbar.
This commit is contained in:
commit
6cd0c0d272
2 changed files with 15 additions and 1 deletions
|
@ -68,6 +68,8 @@
|
|||
|
||||
<span id="makeUnorderedList">List</span>
|
||||
<span id="removeList">Unlist</span>
|
||||
<span id="increaseListLevel">Increase list level</span>
|
||||
<span id="decreaseListLevel">Decrease list level</span>
|
||||
|
||||
<span id="insertImage" class="prompt">Insert image</span>
|
||||
<span id="setHTML" class="prompt">Set HTML</span>
|
||||
|
|
14
README.md
14
README.md
|
@ -120,7 +120,7 @@ Returns self (the Squire instance).
|
|||
|
||||
Returns the text currently selected in the editor.
|
||||
|
||||
#### insertImage
|
||||
### insertImage
|
||||
|
||||
Inserts an image at the current cursor location.
|
||||
|
||||
|
@ -333,3 +333,15 @@ Returns self (the Squire instance).
|
|||
Changes any at-least-partially selected blocks which are part of a list to no longer be part of a list.
|
||||
|
||||
Returns self (the Squire instance).
|
||||
|
||||
### increaseListLevel
|
||||
|
||||
Increases by 1 the nesting level of any at-least-partially selected blocks which are part of a list.
|
||||
|
||||
Returns self (the Squire instance).
|
||||
|
||||
### decreaseListLevel
|
||||
|
||||
Decreases by 1 the nesting level of any at-least-partially selected blocks which are part of a list.
|
||||
|
||||
Returns self (the Squire instance).
|
Loading…
Reference in a new issue