mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 05:00:13 -05:00
Update documentation with new colour API.
This commit is contained in:
parent
d01cc9875f
commit
6726a0b33c
2 changed files with 25 additions and 1 deletions
24
Readme.md
24
Readme.md
|
@ -251,6 +251,30 @@ Sets the font size for the selected text.
|
||||||
|
|
||||||
Returns self.
|
Returns self.
|
||||||
|
|
||||||
|
### setTextColour ###
|
||||||
|
|
||||||
|
Sets the colour of the selected text.
|
||||||
|
|
||||||
|
#### Parameters ####
|
||||||
|
|
||||||
|
* **colour**: The colour to set. Any CSS colour value is accepted, e.g. '#f00', or 'hsl(0,0,0)'.
|
||||||
|
|
||||||
|
#### Returns ####
|
||||||
|
|
||||||
|
Returns self.
|
||||||
|
|
||||||
|
### setHighlightColour ###
|
||||||
|
|
||||||
|
Sets the colour of the background of the selected text.
|
||||||
|
|
||||||
|
#### Parameters ####
|
||||||
|
|
||||||
|
* **colour**: The colour to set. Any CSS colour value is accepted, e.g. '#f00', or 'hsl(0,0,0)'.
|
||||||
|
|
||||||
|
#### Returns ####
|
||||||
|
|
||||||
|
Returns self.
|
||||||
|
|
||||||
### setTextAlignment ###
|
### setTextAlignment ###
|
||||||
|
|
||||||
Sets the text alignment in all blocks at least partially contained by the selection.
|
Sets the text alignment in all blocks at least partially contained by the selection.
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue