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

With DraftJS example #3736

Merged
merged 1 commit into from
Feb 9, 2018
Merged

With DraftJS example #3736

merged 1 commit into from
Feb 9, 2018

Conversation

aquiseb
Copy link
Contributor

@aquiseb aquiseb commented Feb 8, 2018

Have you ever wanted to have an editor like medium.com in your Next.js app? DraftJS is avalaible for SSR, but some plugins like the toolbar are using window, which does not work when doing SSR.

This example aims to provides a fully customizable example of the famous medium editor with DraftJS. The goal was to get it as customizable as possible, and fully working with Next.js without using the react-no-ssr package.

I hope it helps others to have a better understanding on how to customize Draft.js in Next.js.

Copy link
Member

@timneutkens timneutkens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

@timneutkens timneutkens merged commit b8076a8 into vercel:canary Feb 9, 2018
@aquiseb aquiseb deleted the with-draft-js branch February 9, 2018 18:14
@lock lock bot locked as resolved and limited conversation to collaborators Feb 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants