1.0.4 • Published 1 year ago

editorjs-placeholder-tool v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

editorjs-placeholder-tool

This is a custom tool for Editor.js that adds a editorjs-placeholder-tool feature.

Installation

Install the package using npm:

npm install @editorjs/editorjs-placeholder-tool
import PlaceholderTool from '@editorjs/editorjs-placeholder-tool';

Usage

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

import PlaceholderTool from '@editorjs/editorjs-placeholder-tool';

const editor = new EditorJS({
  // Other Editor.js configuration options...

  tools: {
    // Other tools...
    placeholder: {
      class: PlaceholderTool,
      config: {
        placeholder: 'Enter your text here...',
      },
    },
  },
});
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago