Simple text editor
npm install elditor-jsbash
npm install elditor-js
`
Usage
if you are using Nodejs/web bundlers
`javascript
import { Elditor } from 'elditor-js';
new Elditor(document.getElementById('target'))
`
if you are using cdn(iife)
`html
`
if you are using cdn(esm)
`html
`
Getting Only the Functionality
`html
`
`javascript
import { ElditorFunc } from 'elditor-js';
button.addEventListener('click', ElditorFunc.formatText('B'))
``