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

Add some way to load more languajes #10

Open
BraisonCrece opened this issue Aug 28, 2023 · 1 comment
Open

Add some way to load more languajes #10

BraisonCrece opened this issue Aug 28, 2023 · 1 comment

Comments

@BraisonCrece
Copy link

Hi!
I'm the guy who emailed you the other day! 😄
Thanks for the reply, I really appreciate it!

I'm proposing to offer some parameters to the class instantiation to require more language for the language syntax highlighting.

For instance Ruby 😋

    editor = new EditorJS({
      readOnly: false,
      holder: 'editorjs',
      tools: {
          code: editorjsCodeflask({languaje: "Ruby"}),
      }})

A hug!

@calumk
Copy link
Owner

calumk commented Jan 11, 2024

Important

This repo will be archived soon. Please upgrade to @calumk/editorjs-codecup

This should solve the language issue, as languages are now loaded async, so any language supported by prism is supported

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