This repository has been archived by the owner on Nov 16, 2024. It is now read-only.
Releases: flaming-cl/editorjs-text-color-plugin
Releases · flaming-cl/editorjs-text-color-plugin
V2.0.3
V2.0.2
###Fix:
- close the conversion tool when opening inline color plugins
- optimized picker initialization
V 2.0.1
V1.13.1
V1.12.1
- This version supports the newest version of Editor.js (v2.23.2)
- Add CSS variables Support for colorCollection/defaultColor:
Color: {
class: ColorPlugin, // if load from CDN, please try: window.ColorPlugin
config: {
colorCollections: ['var(--main-text-color)', '#9C27B0', '#673AB7', '#3F51B5', '#0070FF', '#03A9F4', '#00BCD4', '#4CAF50', '#8BC34A', '#CDDC39', '#FFF'],
defaultColor: 'var(--main-text-color)',
type: 'text',
}
},
- If you do not set up the defaultColor config, it will be the first color in the color picker panel.