0.0.12 • Published 3 years ago

toasteditor v0.0.12

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

toasteditor

Add a simple wysiwyg editor to svelte and sveltekit projects

This is a wrapper around Toast UI Editor

Usage

npm install toasteditor@latest

Svelte component

<script>
    import ToastEditor from "toasteditor";
    let content = '';
</script>

<div>
    <ToastEditor bind:htmlOutput={content} height="300px" code="true"/>
</div>

props: default

htmlOutput      ""
height          "400px"
code            false

can override css in global.css with !important

.toastui-editor-contents h1 {
color: red !important;
}
0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago