feat: make default value display correctly
This commit is contained in:
18
README.md
18
README.md
@@ -1,14 +1,5 @@
|
||||
# svelte-editor-quill
|
||||
|
||||
[![NPM version][npm-img]][npm]
|
||||
<!-- [![Build Status][ci-img]][ci] -->
|
||||
|
||||
|
||||
[npm-img]: https://img.shields.io/npm/v/@tadashi/svelte-editor-quill.svg
|
||||
[npm]: https://www.npmjs.com/package/@tadashi/svelte-editor-quill
|
||||
<!-- [ci-img]: https://github.com/lagden/svelte-editor-quill/workflows/Node.js%20CI/badge.svg -->
|
||||
<!-- [ci]: https://github.com/lagden/svelte-editor-quill/actions?query=workflow%3A%22Node.js+CI%22 -->
|
||||
|
||||
---
|
||||
|
||||
Svelte component
|
||||
@@ -17,7 +8,7 @@ Svelte component
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm i @tadashi/svelte-editor-quill
|
||||
$ npm i @resultium/svelte-editor-quill
|
||||
```
|
||||
|
||||
|
||||
@@ -45,7 +36,7 @@ Accept only paste plain text.
|
||||
|
||||
```html
|
||||
<script>
|
||||
import {Editor} from '@tadashi/svelte-editor-quill'
|
||||
import {Editor} from '@resultium/svelte-editor-quill'
|
||||
|
||||
const options = {
|
||||
theme: 'snow',
|
||||
@@ -58,14 +49,15 @@ Accept only paste plain text.
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<link rel="preconnect" href="https://cdn.quilljs.com" crossorigin>
|
||||
<link rel="preconnect" href="https://cdn.quilljs.com">
|
||||
<link rel="stylesheet" href="https://cdn.quilljs.com/1.3.7/quill.snow.css">
|
||||
</svelte:head>
|
||||
|
||||
<Editor {options} on:text-change={onTextChange} data='Apenas um show' />
|
||||
<Editor {options} on:text-change={onTextChange} data='Lorem ipsum dolor' />
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Thiago Lagden](https://github.com/lagden)
|
||||
MIT © Resultium LLC
|
||||
|
||||
Reference in New Issue
Block a user