Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Love Megadraft have questions #317

Closed
megphillips91 opened this issue Jun 9, 2020 · 4 comments
Closed

Love Megadraft have questions #317

megphillips91 opened this issue Jun 9, 2020 · 4 comments

Comments

@megphillips91
Copy link

-- Feature --

Reaching out here just because I am not on the slack channel :) sorry about that. I am willing to contribute to the docs if you guys could help a newbie out a bit. I am not a JS Ninja so it is very possible I am just "doing it wrong". Unfortunately, I am getting alot of errors with trying to implement within functional components using hooks.

Description

  • detailed documentation implementing Megadraft within a react app using only new functional components with hooks

  • documentation to link to an 'official plugin repo' so people can easily share and contribute to plugins

Motivation

  • I guess functional components with hooks are the future and all the documentation examples show class components.

  • I am willing to help update docs if you guys are willing to answer a few questions along the way.

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@igor-giusti
Copy link
Contributor

Hello, @megphillips91! Thanks for reaching out.

About the detailed documentation and errors you're getting implementing Megadraft within functional components, can you provide an example, please?

About the docs linking to an "official plugin repo". We don't have such a repo right now, the official plugins are inside Megadraft own repo.

@igor-giusti
Copy link
Contributor

There's an example using MegadraftEditor in a functional component in #290.

@megphillips91
Copy link
Author

Thank you Igor-giusti :). I struggled around a bit and in the end I decided to go with another wysiqyg implementation of draft.js which was more suited to my project. Thank you for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants