diff --git a/README.md b/README.md
index f4c06a4..461582f 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,5 @@
# svelte-editor-quill
-[![NPM version][npm-img]][npm]
-
-
-
-[npm-img]: https://img.shields.io/npm/v/@tadashi/svelte-editor-quill.svg
-[npm]: https://www.npmjs.com/package/@tadashi/svelte-editor-quill
-
-
-
---
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
-
+
-
+
```
## License
MIT © [Thiago Lagden](https://github.com/lagden)
+MIT © Resultium LLC
diff --git a/package.json b/package.json
index f06a4df..92b330f 100644
--- a/package.json
+++ b/package.json
@@ -1,13 +1,13 @@
{
- "name": "@tadashi/svelte-editor-quill",
- "version": "2.2.0",
- "description": "Svelte component",
- "author": "Thiago Lagden",
+ "name": "@resultium/svelte-editor-quill",
+ "version": "1.0.0",
+ "description": "Quill.js implementation in svelte",
+ "author": "Resultium LLC",
"license": "MIT",
"bugs": {
- "url": "https://github.com/lagden/svelte-editor-quill/issues"
+ "email": "technology@resultium.io"
},
- "homepage": "https://github.com/lagden/svelte-editor-quill#readme",
+ "homepage": "https://git.resultium.net/public/svelte-editor-quill",
"engines": {
"node": ">=12.0.0"
},
diff --git a/src/lib/Editor.svelte b/src/lib/Editor.svelte
index dc9def6..00ad0c5 100644
--- a/src/lib/Editor.svelte
+++ b/src/lib/Editor.svelte
@@ -18,6 +18,8 @@
onMount(async () => {
const {quill} = await import('./quill.js')
destroy = quill(node, options)
+
+ node.firstChild.innerHTML = data
})
onDestroy(() => {
@@ -26,5 +28,5 @@
diff --git a/src/lib/quill.js b/src/lib/quill.js
index 1edfa82..9945ccc 100644
--- a/src/lib/quill.js
+++ b/src/lib/quill.js
@@ -36,7 +36,6 @@ export function quill(node, options) {
modules: {
toolbar,
},
- placeholder: 'Digite algo...',
...options,
})
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 249403f..7296912 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -12,8 +12,8 @@
-
-
+
+
-
+