codemirror-colorpicker icon indicating copy to clipboard operation
codemirror-colorpicker copied to clipboard

Documentation request: CodeMirror version support

Open StoneCypher opened this issue 1 year ago • 6 comments

Hello. Nice looking plugin.

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

It would help if the readme answered this question

Thanks

StoneCypher avatar Sep 18 '22 21:09 StoneCypher

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

easylogic avatar Sep 19 '22 05:09 easylogic

How to contribute?

zahertalab avatar Oct 02 '22 05:10 zahertalab

@zahertalab

I wish I could tell you a little bit more.

Do you need codemirror 6 colorpicker?

easylogic avatar Oct 02 '22 08:10 easylogic

+1

tinoks avatar Jan 16 '23 14:01 tinoks

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

michaelsboost avatar Feb 28 '23 13:02 michaelsboost

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

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

curran avatar Aug 28 '23 15:08 curran