Delimiter plugin for CodeX.Editor 2.0
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
.gitignore
LICENSE
README.md
package-lock.json
package.json
webpack.config.js

README.md

Delimiter Tool for CodeX Editor

Delimiter Tool for the CodeX Editor.

Installation

Install via NPM

Get the package

npm i --save-dev codex.editor.delimiter

Include module at your application

const Delimiter = require('codex.editor.delimiter');

Download to your project's source dir

  1. Upload folder dist from repository
  2. Add dist/bundle.js file to your page.

Load from CDN

You can load specific version of package from jsDelivr CDN.

https://cdn.jsdelivr.net/npm/codex.editor.delimiter@1.0.1

Require this script on a page with CodeX Editor.

<script src="..."></script>

Usage

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

var editor = CodexEditor({
  ...
  
  tools: {
    ...
    delimiter: Delimiter,
  }
  
  ...
});

Config Params

This Tool has no config params

Output data

This Tool returns empty object.

{
    "type" : "delimiter",
    "data" : {}
}