Open LukasBlu1 opened 4 years ago
@jpuri I'm able to reproduce. This should be a high priority issue.
@LukasBlu1 were you able to work around this on your end? I'm experiencing the same issue and I need to fix it.
@mrjones2014 I'm sorry. I haven't fixed it yet.
I had to drop the package and use something else.
I've met the same issue
This is an issue related with draft-js, please add this handler to Editor component:
import { RichUtils } from "draft-js"
(...)
<Editor
...
handleKeyCommand={(command) => {
const newState = RichUtils.handleKeyCommand(editorState, command)
if (newState) {
onEditorStateChange(newState)
return "handled"
}
return "not-handled"
}}
/>
Hello @jpuri,
I really like your work, it's very helpful, thanks for that. I found a bug that appears after inserting and deleting a text right under an image.
Steps to reproduce:
This is a video shows the process including pressed characters. https://streamable.com/t5zyi3
I am sure you will have a fast solution, for me it was not that easy.
Thanks in advance
Best regards Lukas