Skip to content

Support of uncolored text #141

@2mik

Description

@2mik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions