You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
I don't know if this is a bug, maybe it's a flow issue or something I didn't know.
I try to import draft-js and benefit from it flow capabilities but I noticed that it doesn't work.
Is this normal?
import { Editor } from 'draft-js'
This does not work.
import { Editor } from 'draft-js/lib/Draft.js.flow'
This does not work neither.
import Editor from 'draft-js/lib/DraftEditor.react'
This works. autocompletion, validation, everything ok.
Using:
draft.js v0.10
flow v0.38
I using flow-typed, too. There is no draft-js generated stub which could override the draft-js module, so this is good.