SamyPesse / draft-js-prism

Code highlighting for DraftJS using Prism
http://samypesse.github.io/draft-js-prism/
Apache License 2.0
275 stars 36 forks source link

How to use it as a code editor only #12

Closed raguay closed 7 years ago

raguay commented 8 years ago

I have the draft-js-prism loaded in my app, but the default block mode is normal text. How do you force it to be a code block only.

mxstbr commented 7 years ago

Please direct usage questions to StackOverflow, thanks!