0.0.11 • Published 3 years ago
@typio/typio v0.0.11
typio
Lightweight Aesthetic WYSIWYG Rich Text Editor
Install
$ npm i @typio/typioBasic Usage
Once you've installed the package, import and use the component:
Svelte
index.svelte:
<script>
import typio as Editor from '@typio/typio'
</script>
<Editor />JS
index.js:
import typio from '@typio/typio'
const typio = new typio({
// initialize editor on some HTMLElement
target: document.getElementById('typio-wrapper')
})