2.5.0 • Published 12 months ago

@editorjs/raw v2.5.0

Weekly downloads
2,661
License
MIT
Repository
github
Last release
12 months ago

npm.io

Raw HTML Tool for Editor.js

Raw Tool for the Editor.js allows to include raw HTML code in your articles.

npm.io

Installation

Get the package

yarn add @editorjs/raw

Include module at your application

import RawTool from '@editorjs/raw';

Optionally, you can load this tool from CDN JsDelivr CDN

Usage

Add a new Tool to the tools property of the CodeX Editor initial config.

var editor = CodexEditor({
  ...
  
  tools: {
    ...
    raw: RawTool,
  }
  
  ...
});

Config Params

FieldTypeDescription
placeholderstringRaw Tool's placeholder string

Output data

This Tool returns raw HTML code.

{
    "type" : "raw",
    "data" : {
        "html": "<div style=\"background: #000; color: #fff; font-size: 30px; padding: 50px;\">Any HTML code</div>",
    }
}
byevolution@infinitebrahmanuniverse/nolb-_edi@everything-registry/sub-chunk-277hsl-strapi-plugin-react-editorjshorul-editorlike-watermurph-projectnode-red-contrib-ui-editornuxt3-editorjs@itandu/admin-panel@cromwell/admin-panel@highoutput/neyar@kaniyarasu/react-editor.js@keystonejs-contrib/fields-editorjsdirectual-web-componentsdotailadoreactaeditorjs-reacteditor-js-componenteditor-js-theme@ten24group/ui24@om-mediaworks/shacl-formstrapi-academy-plus-editorjsstrapi-plugin-react-editorjsstrapi-plugin-react-editorjs-extended-embedstrapi-plugin-editorstrapi-plugin-editorjs-fieldstrapi-plugin-editorjs-nextsarman-vue-editor-js@chizhik/ui-lib@canburaks/fibs-editor@carabi/ui@bigbossstudio/strapi-plugin-editorjs@celmino/sdk@celmino/sdk-console@acf-int/strapi-plugin-editorjs@acf-int/strapi-plugin-react-editorjs@aulazero/task@4kda/vuetify-cifrum-demo-app@brandontle/react-editor.jsui-duckumomega-foundation@appconda/console-sdk@appconda/react-sdk@appconda/sdk@appconda/web-sdk@evershop/evershop@fakel/rest-admin@todokek/react-editor.js@tienlucky/storage@virtual-spirit/vspace-labs@vt7/vue-editor@wulperstudio/wulper-studio-editor@zdzcode/zc-web-vuejs-coreblock-article-jsbyevolution-componentsall-in-one-editorjs@zalastax/nolb-_edi@realmocean/editor@realmocean/sdk@rainyland-dev/strapi-plugin-editorjs@questflow/canvas@datahu/client@datahu/component@datahu/designer@dicarbene/nuxt3-editorjs@smileeye.edu.vn/editor@rypock/react-frontend@softkit/strapi-plugin-react-editorjs@oak-digital/strapi-plugin-react-editorjsfibs-editorquickvue-editorjsreact-editor-simple-image.jsreact-editor-simple-image
2.5.0

12 months ago

2.4.0

2 years ago

2.3.1

3 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.2

5 years ago

2.1.1

6 years ago

2.1.0

6 years ago