2.5.1 • Published 1 year ago

@editorjs/raw v2.5.1

Weekly downloads
2,661
License
MIT
Repository
github
Last release
1 year 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-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-editorjseditorjs-reacteditor-js-componenteditor-js-themefibs-editorbyevolution-componentsblock-article-jsdirectual-web-componentsdoreactadotaila@om-mediaworks/shacl-formstrapi-plugin-react-editorjsstrapi-plugin-react-editorjs-extended-embedui-duckumomega-foundation@acf-int/strapi-plugin-react-editorjsmurph-projectnuxt3-editorjssarman-vue-editor-jsreact-editor-simple-image.jsreact-editor-simple-imagenode-red-contrib-ui-editorquickvue-editorjs@evershop/evershop@fakel/rest-admin@highoutput/neyar@itandu/admin-panel@keystonejs-contrib/fields-editorjs@oak-digital/strapi-plugin-react-editorjs@kaniyarasu/react-editor.js@pakasa/duuka-checkout@4kda/vuetify-cifrum-demo-app@acf-int/strapi-plugin-editorjs@bigbossstudio/strapi-plugin-editorjs@softkit/strapi-plugin-react-editorjs@smileeye.edu.vn/editor@carabi/ui@chizhik/ui-lib@celmino/sdk@celmino/sdk-console@appconda/react-sdk@appconda/sdk@appconda/web-sdk@matthewkilpatrick/strapi-plugin-editor-js@aulazero/task@aulazero/task-2@rainyland-dev/strapi-plugin-editorjs@questflow/canvas@realmocean/editor@realmocean/sdk@brandontle/react-editor.js@canburaks/fibs-editor@appconda/console-sdk@rypock/react-frontend@customer01annapooranisarees/customer01annapooranisarees@datahu/client@datahu/component@datahu/designer@dicarbene/nuxt3-editorjs@cromwell/admin-panel
2.5.1

1 year ago

2.5.0

2 years ago

2.4.0

3 years ago

2.3.1

4 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.2

6 years ago

2.1.1

7 years ago

2.1.0

7 years ago