Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Improve readme #11

Open
phungvansyhb opened this issue Sep 6, 2023 · 1 comment
Open

Improve readme #11

phungvansyhb opened this issue Sep 6, 2023 · 1 comment

Comments

@phungvansyhb
Copy link

Awesome library, but i have installed and try to know how to add language to config for tool :) because nothing in readme mention this

@sandro-pasquali
Copy link

Yes, it isn't clear how I can for example set the default language. Adding it in the normal config way doesn't seem to work, e.g.:

code: {
    class: editorjsCodeflask,
    config: {
        language: 'javascript'
    }
},

or:

code: {
    class: editorjsCodeflask,
    language: 'javascript'
},

Great tool! Being able to set a default language would be great.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants