1.4.0 • Published 6 months ago

@editorjs/marker v1.4.0

Weekly downloads
4,487
License
MIT
Repository
github
Last release
6 months ago

npm.io

Marker Tool

Marker Tool for highlighting text-fragments for the Editor.js.

npm.io

Installation

Get the package

yarn add @editorjs/marker

Include module at your application

import Marker from '@editorjs/marker';

Optionally, you can load this tool from CDN JsDelivr CDN

Usage

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

var editor = EditorJS({
  ...
  
  tools: {
    ...
    Marker: {
      class: Marker,
      shortcut: 'CMD+SHIFT+M',
    }
  },
  
  ...
});

Config Params

This Tool has no config params

Output data

Marked text will be wrapped with a mark tag with an cdx-marker class.

{
    "type" : "text",
    "data" : {
        "text" : "Create a directory for your module, enter it and run <mark class=\"cdx-marker\">npm init</mark> command."
    }
}
@polo7/block-editorbyevolution@infinitebrahmanuniverse/nolb-_edi@alfresco/adf-process-services-cloud@everything-registry/sub-chunk-277horul-editorhsl-strapi-plugin-react-editorjslourd-componentslourd-components-tlike-water@bigbossstudio/strapi-plugin-editorjs@celmino/sdk-console@celmino/sdk@casimir.one/vue-editorjs@chizhik/ui-lib@brandontle/react-editor.js@todokek/react-editor.js@canburaks/fibs-editor@carabi/ui@datahu/client@datahu/component@datahu/designer@cromwell/admin-panel@dicarbene/nuxt3-editorjs@ddoctors.ru/editorjs@ddoctors/editor@emilienkopp/ejs-factory@emilienkopp/html-factory@fakel/rest-admin@highoutput/neyar@itfin/components@itandu/admin-panelexchange-react-uiblockeditor-testdsstudio-editorjseditorjs-preconfigurededitorjs-reacteditor-js-componenteditor-js-themefibs-editornode-red-contrib-ui-editornuxt3-editorjsmurph-projectpn-block-editorquickvue-editorjsreact-editor-simple-imagereact-editor-simple-image.jssarman-vue-editor-jsui-duckumomega-foundationstd-pagestrapi-plugin-editorstrapi-plugin-editorjsstrapi-plugin-editorjs-fieldstrapi-editorjsstrapi-plugin-react-editorjsstrapi-plugin-react-editorjs-extended-embedstrapi-academy-plus-editorjssmart-editor@acf-int/strapi-plugin-editorjs@acf-int/strapi-plugin-react-editorjs@virtual-spirit/vspace-labs@vt7/vue-editor@keystonejs-contrib/fields-editorjs@zdzcode/zc-web-vuejs-core@zalastax/nolb-_edi@kaniyarasu/react-editor.jsall-in-one-editorjs@mohamed-karawia/librarybyevolution-componentsblock-article-js@nwire/amit-design-system@oak-digital/strapi-plugin-react-editorjs@om-mediaworks/shacl-form@rjgf/rj-components@rypock/react-frontend@rainyland-dev/strapi-plugin-editorjs@realmocean/sdk@realmocean/editor@questflow/canvas@softkit/strapi-plugin-react-editorjsddoctors-editor@smileeye.edu.vn/editordoreactadotailadrafts@wulperstudio/wulper-studio-editor@tienlucky/storage
1.4.0

6 months ago

1.3.0

1 year ago

1.2.2

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago