1.1.8 • Published 1 year ago

@juratbek/editorjs-code v1.1.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Code editor for Editor.js

Code editor for Editor.js Allows you to write codes

Installation

npm i @juratbek/editorjs-code
yarn add @juratbek/editorjs-code

Usage

Add the Code tool to the tools property of the Editor.js initial config.

import EditorJs from "@editorjs/editorjs";
import Code from "@juratbek/editorjs-code";

const editor = EditorJs({
  // ...
  tools: {
    code: Code,
  },
});

Config Params

FieldTypeDescriptionDefault value
defaultLanguagestringdefault coding languagejavascript

Output data

FieldTypeDescription
codestringwritten code
languagestringcoding language
1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago