Open annammarri opened 5 years ago
Update got published from draft.js 7 days ago. You could downgrade to 10.5 if you have issues other then deprecation warnings or do not want your console overflow while developing. I am looking for a long term fix as well.
@jpuri
Any suggestions with this one?
+1
+1
+1
@annammarri you can use my fork. I updated it: https://github.com/quriobot/react-draft-wysiwyg/tree/qb-changes
Hi, Please fix this or provide a resolution. :/
+1
+1
+1
Hey guys, Downgrade your react-draft libraries. "draft-js": "^0.10.5", "draftjs-to-html": "^0.8.4", "html-to-draftjs": "^1.4.0", "react-draft-wysiwyg": "^1.13.2",
Is there any work being done towards upgrading this to consume DraftJS 0.11 instead of 0.10? Because this is the real solution for this issue. @wamujlb has a fork, is it possible to merge it?
I guess the real problem is #879 :(
@ferrao by downgrading you can ignore these warnings, please don't down vote if you don't know
As @ferrao said, #879 is at the root of the problem. Unless @jpuri passes the flag to somebody else ...
@ferrao by downgrading you can ignore these warnings, please don't down vote if you don't know
I downvoted in the sense that I do not think that is the solution for the problem. At most, that is a temporary workaround..
react-draft-wysiwyg@1.14.1
has the change.
Hi, thank you so much for this tool, it's great! When I run the editor, I can see 3 warnings in my console:
onDownArrow
prop toDraftEditor
has been deprecated. If your handler needs access to the keyboard event, supply a customkeyBindingFn
prop that falls back to the default one (eg. https://is.gd/RG31RJ).onTab
prop toDraftEditor
has been deprecated. If your handler needs access to the keyboard event, supply a customkeyBindingFn
prop that falls back to the default one (eg. https://is.gd/RG31RJ).onUpArrow
prop toDraftEditor
has been deprecated. If your handler needs access to the keyboard event, supply a customkeyBindingFn
prop that falls back to the default one (eg. https://is.gd/RG31RJ).and I have these versions on my package.json: "react": "^16.3.2" "react-dom": "^16.3.2" "react-draft-wysiwyg": "^1.13.2" "draft-js": "^0.11.0" "draftjs-to-html": "^0.8.4"
Does somebody know What to do here? I really appreciate your help!