commit 161b9ce06cd01417bd0ab684d75697a1a92fa4ce
parent dd726e6eb05ac0a0a943d7e404f95b2bc69945c8
Author: hunite <hunite@striven.com>
Date: Thu, 19 Sep 2019 08:42:51 -0400
README
Diffstat:
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -122,7 +122,7 @@ const customToolbarOption = {
handler: () => this.editor.getRange().insertNode(document.createTextNode("hello world"))
};
-const editor = new StrivenEditor(editorEl, { toolbarOptions: ["bold", "italic", "underline", customToolbarOption] });
+const editor = new StrivenEditor(editorEl, { toolbarOptions: ["bold", "italic", "underline", customToolbarOption] });
```
#### Finding SVG Data
diff --git a/demo/src/App.vue b/demo/src/App.vue
@@ -50,11 +50,6 @@ export default {
toolbarBottom: true,
toolbarHide: true,
toolbarOptions: [
- "insertOrderedList",
- "bold",
- "indent",
- "link",
- "justifyLeft",
{
icon: { viewBox: "0 0 1792 1792", d: "M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z" },
handler: () => this.editor.getRange().insertNode(document.createTextNode("hello world"))