* fix: don't mutate the bounded text if not updated when submitted
* dont update text for bounded text unless submitted
* add specs
* use node 16
* fix
* Update text when editing and cache prev text
* update prev text when props updated
* remove only
* type properly and remove unnecessary type checks
* cache original text and compare with editor value to fix alignement issue after editing and add specs
* naming tweak
Co-authored-by: dwelle <luzar.david@gmail.com>
* fix: support tab in text Wyswig
* Refactor tab handling
Tab now indent the whole line, instead of inserting at the cursor
position.
Shift+Tab now deindent the whole line.
* Add multi-line tabulation support
* rename
* simplify algo for selected lines start indices & naming tweaks
* add cmd-bracket shortcuts as alias to indent/outdent
* support outdenting partial tabs
Co-authored-by: dwelle <luzar.david@gmail.com>