kode-team / codemirror-colorpicker

colorpicker with codemirror
https://colorpicker.easylogic.studio/
MIT License
137 stars 13 forks source link

Documentation request: CodeMirror version support #50

Open StoneCypher opened 2 years ago

StoneCypher commented 2 years ago

Hello. Nice looking plugin.

Is this for CodeMirror 6, 5, or something else, please?

It would help if the readme answered this question

Thanks

easylogic commented 2 years ago

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

zahertalab commented 2 years ago

How to contribute?

easylogic commented 2 years ago

@zahertalab

I wish I could tell you a little bit more.

Do you need codemirror 6 colorpicker?

tinoks commented 1 year ago

+1

michaelsboost commented 1 year ago

+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.

curran commented 1 year ago

Related https://github.com/replit/Codemirror-CSS-color-picker

https://github.com/replit/Codemirror-CSS-color-picker/issues/7