matrix-neoboard
matrix-neoboard copied to clipboard
Fix duplicate text on paste
Before this change, text fields always start in edit mode. This commit changes the behaviour to only go to edit mode if the text field is empty (usually the case if a new text field is placed). In addition to that the paste event for text fields is only handled, if the text field is in edit mode (there is a cursor).
:heavy_check_mark: Checklist
- [x] A changeset describing the change and affected packages (more info).
- [ ] Added or updated documentation.
- [ ] Tests for new functionality and regression tests for bug fixes.
- [ ] Screenshots or videos attached (for UI changes).
- [x] All your commits have a
Signed-off-byline in the message (more info).
🦋 Changeset detected
Latest commit: 1a488e4dc533685fb054548aa79d8a6cffc4b2ee
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
| Name | Type |
|---|---|
| @nordeck/matrix-neoboard-react-sdk | Patch |
| @nordeck/matrix-neoboard-widget | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR