1.0.1 • Published 3 years ago

aka-editor v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

aka-editor

NPM version npm download

Install

aka-editor

npm install --save aka-editor

Install

  • Install aka-editor
npm install aka-editor

How it work

CODING Json Editor

  • Using:
import { JsonEditor } from "aka-editor";

<JsonEditor content="{\"key\": \"hello\"}"
            theme="dark"
            tabSize={4}
            onBlur={(value) => this.onChange(value, "resourceTemplate") />

CODING Yaml Editor

  • Using:
import { YamlEditor } from "aka-editor";

<YamlEditor content="hello!!!"
            theme="dark"
            tabSize={4}
            onBlur={(value) => this.onChange(value, "resourceTemplate") />

TEXT Markdown Editor

  • Using:
import { MarkdownEditor } from "aka-editor";

<MarkdownEditor content="hello!!!"
            preview="vertical"
            onBlur={(e, value) => this.onChange(value, "resourceTemplate") />

TEXT CK Editor

  • Using:
import { CKEditor } from "aka-editor";

<CKEditor defaultValue="hello!!!"
            onChange={(e, value) => this.onChange(value, "resourceTemplate") />