smallest-text-editor

1.2.7 • Public • Published

What is this?

A text editor with very few functions such as bold, italic or underline.

Screenshot

Installation

npm i smallest-text-editor

Then...

...

const editor = new SmallestTextEditor('#id-of-your-div')

// get value
editor.getValue()

// clear text
editor.clear()

// you can style the editor as you wish
#smalles-text-editor {
    height: 400px;
    width: 400px;
    ...
}

Example

https://jsfiddle.net/svitel11/ko2pnzjs/123/

/smallest-text-editor/

    Package Sidebar

    Install

    npm i smallest-text-editor

    Weekly Downloads

    14

    Version

    1.2.7

    License

    ISC

    Unpacked Size

    9.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • svitel11