b149fe7e98
This PR has been tested on Mac Chrome, iOS Safari, and Android Chrome. --- This PR removes 'targeted editing' from text. This affects when you're: * using the text tool * editing a text shape * editing a text label * editing an arrow label When in one of these modes, you were able to click on some other text to immediately start editing it (as long as that text is the same type). It was a bit broken with some of the newer changes, so this PR removes it. The issues included: * selected text 'flashing' * caret going to the start of the text * empty text shapes not disappearing * inconsistent behaviour when clicking near a shape VS on a shape It feels a bit simpler now too, I like it... 🤔💭 ![2023-09-28 at 15 36 15 - Beige Parrotfish](https://github.com/tldraw/tldraw/assets/15892272/955e80b7-71d4-4f5d-9647-423dde5f279b) ### Change Type - [x] `patch` — Bug fix ### Test Plan - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Fixed some cases where text would get selected in the wrong place. - Changed the behaviour of text selection. Removed 'deep editing'. --------- Co-authored-by: Steve Ruiz <steveruizok@gmail.com> |
||
---|---|---|
.. | ||
assets | ||
editor | ||
state | ||
store | ||
tldraw | ||
tlschema | ||
utils | ||
validate |