@uls/editor

1.0.1 • Public • Published

INSTALL npm install @uls/editor

USAGE

jQuery

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

$('.editor').editor();

JS

import Editor from '@uls/editor'

const editor = new Editor('.editor');

OPTIONS $('.editor').editor({ contenteditable: true });

const editor = new Editor('.editor', { contenteditable: true });

METHODS

$('.editor').editor('hide', {id: 'editor_0'}); $('.editor').editor('show', {id: 'editor_0'}); $('.editor').editor('getData', {id: 'editor_0'});

editor.hide({id: 'editor_0'}); editor.show({id: 'editor_0'}); editor.getData({id: 'editor_0'});

Readme

Keywords

none

Package Sidebar

Install

npm i @uls/editor

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

5.34 kB

Total Files

3

Last publish

Collaborators

  • uls