rsnext/examples/with-quill-js
Arya Sadeghi 1b518f065f with quilljs example (#8904)
* quill js with nextjs

* remove  spaces and blank line

* fix  code  lints

* imporve lin

* fix lint  error

* trying to fix lint

* Update examples/with-quill-js/README.md

Co-Authored-By: Luis Alvarez D. <luis@zeit.co>

* Update examples/with-quill-js/README.md

Co-Authored-By: Luis Alvarez D. <luis@zeit.co>

* update readme

* Update example
2019-10-07 17:17:06 -05:00
..
pages with quilljs example (#8904) 2019-10-07 17:17:06 -05:00
next.config.js with quilljs example (#8904) 2019-10-07 17:17:06 -05:00
package.json with quilljs example (#8904) 2019-10-07 17:17:06 -05:00
README.md with quilljs example (#8904) 2019-10-07 17:17:06 -05:00

Quilljs editor Example

How to use

Using create-next-app

Execute create-next-app with Yarn or npx to bootstrap the example:

npx create-next-app --example with-quill-js with-quill-js-app
# or
yarn create next-app --example with-quill-js with-quill-js-app

Download manually

Download the example:

curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-quill-js
cd with-quill-js

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with now (download):

now

The idea behind the example

Quill is powerful rich text editor. This example uses react-quill to integrate Quill with Next.js.

Quill does not suppport SSR, so it's only loaded and rendered in the browser.