RichText
RichText copied to clipboard
Add support for text indentation?
Thanks for this control - it has been a lifesaver! I don't see any support for text indentation - have I missed something? Would this be difficult to add? If you can provide some guidance on the best way to add this, we can take a swing and share via a PR, etc.
This could be added with a HTML node including inline styling with something like text indentation: 10px
(or a custom value which is able to be set via a popup).
If you want to add it via PR, you can get inspiration by either the functionality to add an URL (with popup) or you check for the formatText()
function and how it is being used in order to set a predefined indentation size.
In case you want to use a predefined size, please make it accessible via the settings.