CodeFlask icon indicating copy to clipboard operation
CodeFlask copied to clipboard

Support of uncolored text

Open 2mik opened this issue 6 months ago • 2 comments

If I create a flask object with an empty language const flask = new CodeFlask('#my-selector', { language: '' }); and then set the language flask.updateLanguage('js'); it works incorrectly, because the HTML element has 2 classes language-html and language-js. It's would be useful to support an empty language to disable coloring. Thank you.

2mik avatar Jul 01 '25 16:07 2mik