2.5.0 • Published 2 years ago

@editorjs/raw v2.5.0

Weekly downloads
2,661
License
MIT
Repository
github
Last release
2 years 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-277strapi-plugin-editorstrapi-plugin-editorjs-fieldstrapi-plugin-editorjs-nextstrapi-academy-plus-editorjs@cromwell/admin-panel@canburaks/fibs-editor@om-mediaworks/shacl-formstrapi-plugin-react-editorjsstrapi-plugin-react-editorjs-extended-embedui-duckumomega-foundation@appconda/console-sdk@appconda/react@appconda/react-sdk@appconda/sdk@appconda/web-sdk@aulazero/task@bigbossstudio/strapi-plugin-editorjs@carabi/ui@celmino/sdk@celmino/sdk-console@chizhik/ui-lib@4kda/vuetify-cifrum-demo-app@acf-int/strapi-plugin-react-editorjs@acf-int/strapi-plugin-editorjs@brandontle/react-editor.js@dicarbene/nuxt3-editorjs@datahu/client@datahu/component@datahu/designer@highoutput/neyar@evershop/evershop@itandu/admin-panel@fakel/rest-admin@matthewkilpatrick/strapi-plugin-editor-js@keystonejs-contrib/fields-editorjs@kaniyarasu/react-editor.js@rainyland-dev/strapi-plugin-editorjs@rypock/react-frontend@questflow/canvas@realmocean/editor@realmocean/sdk@oak-digital/strapi-plugin-react-editorjsmurph-projectnuxt3-editorjssarman-vue-editor-jsreact-editor-simple-image.jsreact-editor-simple-imagenode-red-contrib-ui-editorquickvue-editorjshorul-editorhsl-strapi-plugin-react-editorjslike-watermedusa-plugin-editorjs@vt7/vue-editor@wulperstudio/wulper-studio-editor@tienlucky/storage@todokek/react-editor.js@virtual-spirit/vspace-labs@zalastax/nolb-_edi@zdzcode/zc-web-vuejs-coreall-in-one-editorjsbyevolution-componentsblock-article-jsdirectual-web-componentsdoreactadotailaeditorjs-reacteditor-js-componenteditor-js-themefibs-editor@smileeye.edu.vn/editor@softkit/strapi-plugin-react-editorjs
2.5.0

2 years ago

2.4.0

3 years ago

2.3.1

3 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.2

5 years ago

2.1.1

6 years ago

2.1.0

6 years ago