-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Copy link
Labels
High PriorityUI Designowner: Timowner: TimbugSomething isn't workingSomething isn't working💻 FW Liteissues related to the fw lite application, not miniLcm or crdt relatedissues related to the fw lite application, not miniLcm or crdt related
Description
Describe the bug
When using version 1.40.0 or later (1.40.1 is current) of the prosemirror-view NPM package, you can't type into an empty rich-text field. Pressing Ctrl+A to select all (all the nothing that's in the field) will allow typing into it, and if you have tabbed into the field then you can type into it because of our code that does an automatic select-all when you focus a field via the keyboard.
Downgrading the prosemirror-view package to 1.39.3 resolves the issue.
To Reproduce
Steps to reproduce the behavior:
- Create a test project
- Click on any rich-text field such as Note or Definition
- If the field is empty, type into it and you won't be able to
- If the field is not empty, hit backspace until it's empty, and then you won't be able to type into it
- Press Ctrl+A to "select all" in the empty field
- Now typing into the field will work again
Expected behavior
Typing into an empty rich-text field will insert the characters you typed
Metadata
Metadata
Assignees
Labels
High PriorityUI Designowner: Timowner: TimbugSomething isn't workingSomething isn't working💻 FW Liteissues related to the fw lite application, not miniLcm or crdt relatedissues related to the fw lite application, not miniLcm or crdt related