Closed jjkavalam closed 7 years ago
Hey, I've taken over this repo from Samy. Are you still interested in moving this PR forward? If so, how does it compare to #17 and #18?
I decided to merge #17, since it solves the issue really well. Thanks for taking the time to contribute to this module!
Example: "class MyClass {}" in "java" syntax
Such a case is handled by assuming that the array will always contain one element (this assumption is simply based on observations. A more thorough understanding will require looking to Prismjs code)
Fix for issue https://github.com/SamyPesse/draft-js-prism/issues/10