matrix-neoboard icon indicating copy to clipboard operation
matrix-neoboard copied to clipboard

Fix duplicate text on paste

Open weeman1337 opened this issue 1 year ago • 1 comments

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-by line in the message (more info).

weeman1337 avatar Aug 14 '24 07:08 weeman1337

🦋 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

changeset-bot[bot] avatar Aug 14 '24 07:08 changeset-bot[bot]