|
@@ -132,7 +132,6 @@ export class TextShape extends TLTextShape<TextShapeProps> {
|
|
const handleBlur = React.useCallback(
|
|
const handleBlur = React.useCallback(
|
|
(e: React.FocusEvent<HTMLTextAreaElement>) => {
|
|
(e: React.FocusEvent<HTMLTextAreaElement>) => {
|
|
if (!isEditing) return
|
|
if (!isEditing) return
|
|
- e.currentTarget.setSelectionRange(0, 0)
|
|
|
|
onEditingEnd?.()
|
|
onEditingEnd?.()
|
|
},
|
|
},
|
|
[onEditingEnd]
|
|
[onEditingEnd]
|