0.0.12 • Published 2 years ago

toasteditor v0.0.12

Weekly downloads
-
License
-
Repository
-
Last release
2 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

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago