React-quill: code blocks

Created on 8 May 2016  Â·  4Comments  Â·  Source: zenoamaro/react-quill

Is there a plan to roll out adding code blocks?

Since Quilljs has added code blocks support in its beta release:
https://github.com/quilljs/quill/issues/116

The first thing is to make react-quill compatible with Quilljs version 1.0. Here is a guide to upgrade:http://beta.quilljs.com/guides/upgrading-to-1-0/

Shall I put up a pull request for this?

enhancement

Most helpful comment

You need to add the format to the formats prop

On Tue, May 16, 2017, 1:11 AM CristinaWang notifications@github.com wrote:

The code-block feature seems not working anymore in the latest version.
Got warning: "quill:toolbar ignoring attaching to disabled format
code-block". Is this feature deprecate?

—
You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub
https://github.com/zenoamaro/react-quill/issues/92#issuecomment-301708536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABf7UyrPc135fu87AaSEuLvLEnZdf5WYks5r6Vo8gaJpZM4IZlFi
.

All 4 comments

Pull Request #98

Appears to be working with demo on master: https://zenoamaro.github.io/react-quill/

You need to add the format to the formats prop

On Tue, May 16, 2017, 1:11 AM CristinaWang notifications@github.com wrote:

The code-block feature seems not working anymore in the latest version.
Got warning: "quill:toolbar ignoring attaching to disabled format
code-block". Is this feature deprecate?

—
You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub
https://github.com/zenoamaro/react-quill/issues/92#issuecomment-301708536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABf7UyrPc135fu87AaSEuLvLEnZdf5WYks5r6Vo8gaJpZM4IZlFi
.

Yeah, I figure out after I added the comments so I delete it. Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aliciawood picture aliciawood  Â·  3Comments

jaimefps picture jaimefps  Â·  3Comments

ycjcl868 picture ycjcl868  Â·  5Comments

stinoga picture stinoga  Â·  3Comments

prosenjitchy picture prosenjitchy  Â·  3Comments