1.4.0 • Published 2 years ago

@editorjs/marker v1.4.0

Weekly downloads
4,487
License
MIT
Repository
github
Last release
2 years 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@everything-registry/sub-chunk-277wonder-imagestrapi-plugin-editorstrapi-plugin-editorjsstrapi-plugin-editorjs-fieldstrapi-plugin-editorjs-nextstrapi-academy-plus-editorjsstrapi-editorjs@cromwell/admin-panel@canburaks/fibs-editorexchange-react-uiblockeditor-test@om-mediaworks/shacl-formstd-pagestrapi-plugin-react-editorjsstrapi-plugin-react-editorjs-extended-embedui-duckumomega-foundation@appconda/console-sdk@appconda/react@appconda/react-sdk@appconda/sdk@appconda/web-sdk@alfresco/adf-process-services-cloud@bigbossstudio/strapi-plugin-editorjs@carabi/ui@casimir.one/vue-editorjs@celmino/sdk@celmino/sdk-console@chizhik/ui-lib@acf-int/strapi-plugin-react-editorjs@acf-int/strapi-plugin-editorjs@brandontle/react-editor.js@ddoctors.ru/editorjs@ddoctors/editor@dicarbene/nuxt3-editorjs@datahu/client@datahu/component@datahu/designer@highoutput/neyar@emilienkopp/ejs-factory@emilienkopp/html-factory@itfin/components@itandu/admin-panel@fakel/rest-admin@mohamed-karawia/library@keystonejs-contrib/fields-editorjs@kaniyarasu/react-editor.js@rainyland-dev/strapi-plugin-editorjs@rypock/react-frontend@questflow/canvas@realmocean/editor@realmocean/sdk@rjgf/rj-components@nwire/amit-design-system@oak-digital/strapi-plugin-react-editorjsmurph-projectodoc-viewernuxt3-editorjssarman-vue-editor-jsreact-editor-simple-image.jsreact-editor-simple-imagenode-red-contrib-ui-editorpn-block-editorquickvue-editorjssmart-editorilla-builderhorul-editorhsl-strapi-plugin-react-editorjslike-waterlourd-componentslourd-components-tmedusa-plugin-bloggermedusa-plugin-blogger-ar@vt7/vue-editor@wulperstudio/wulper-studio-editor@tienlucky/storage@todokek/react-editor.js@virtual-spirit/vspace-labs@zalastax/nolb-_edi@zdzcode/zc-web-vuejs-core@swiftease/atali-formall-in-one-editorjsddoctors-editorbyevolution-componentsblock-article-jsdirectual-web-componentsdoreactadotailadraftseditorjs-preconfigureddsstudio-editorjseditorjs-reacteditor-js-componenteditor-js-themefibs-editor@smileeye.edu.vn/editor
1.4.0

2 years ago

1.3.0

3 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago