Add trimSelection parameter to text editor (#7944)

* add trimSelection - both, start, end, no

* add documentation for trimSelection to tm-edit-text-operation tiddler

* add trimSelection both to all buttions where it makes sense

* change "both" to "yes" as a default

* fix trimSelection typo

* fix trimSelection typo

* docs trimSelection add "no" as possible value - it's the default

* remove some redundant variable declarations

* update from-version

* fix comment typos

* fix whitespace

* make local variables more visible
This commit is contained in:
Mario Pietsch
2024-09-10 18:17:28 +02:00
committed by GitHub
parent c64bbd984f
commit d450fce77b
12 changed files with 138 additions and 39 deletions

View File

@@ -12,4 +12,5 @@ tags: $:/tags/EditorToolbar
$param="wrap-selection"
prefix="{{"
suffix="}}"
trimSelection="yes"
/>