contentful/field-editors

Expose InitializedEditorType in MarkdownEditor onReady

OriginalEXE opened this issue · 1 comments

Hello,

Right now the the onReady prop for the MarkdownEditor is typed as Function and InitializedEditorType type is not exported from the package, so there is no way to type the argument passed to the onReady function on the consumer side.

Ideally both onReady could be more specifically typed and the InitializedEditorType type exported.

Would be happy to open a PR if that's something you are open to, but perhaps I'm missing some reason why this was not done?

Thanks

Marking issue as stale since there was no acitivty for 30 days