codemirror-colorpicker
codemirror-colorpicker copied to clipboard
Documentation request: CodeMirror version support
Hello. Nice looking plugin.
Is this for CodeMirror 6, 5, or something else, please?
It would help if the readme
answered this question
Thanks
hi @StoneCypher
This library is only to use CodeMirror 5.
You can use in es6 style.
refer to https://colorpicker.easylogic.studio/colorpicker/api.html#es6-style
How to contribute?
@zahertalab
I wish I could tell you a little bit more.
Do you need codemirror 6 colorpicker?
+1
+1 would love to see Codemirror 6 support
https://codemirror.net/examples/decoration/
Widget decorations insert a DOM element in the editor content. You could use this to, for example, add a color picker widget next to a color code. Widgets can be inline elements or blocks.
Related https://github.com/replit/Codemirror-CSS-color-picker
https://github.com/replit/Codemirror-CSS-color-picker/issues/7