commit 36e2cc3eb1ce7078ffce05c1b424e4d924da33ad
parent a71aeba6ac1c683b684b7572d2f4fa5e673af63e
Author: unitehenry <unitehenry@gmail.com>
Date: Thu, 24 Oct 2019 13:32:27 -0400
Demo
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/demo/src/App.vue b/demo/src/App.vue
@@ -5,14 +5,15 @@
>
<striven-editor
ref="editor"
- v-model="notes"
:toolbar-hide="toolbarHide"
+ :minimal="minimal"
:toolbar-bottom="true"
:placeholder="'Type something in here...'"
style="min-height:300px; width: 800px;"
meta-url="http://localhost:4200/meta"
:custom-toolbar-button="customButton"
></striven-editor>
+ <div class="custom-button" ref="customButton" @click="sendContent">Send</div>
</div>
</template>
@@ -25,7 +26,7 @@ export default {
components: { StrivenEditor },
data() {
return {
- metaUrl: "http://localhost:4200/meta", //"https://mighty-anchorage-82390.herokuapp.com/meta", // metaserver.js
+ metaUrl: "https://mighty-anchorage-82390.herokuapp.com/meta", // metaserver.js
// imageUrl: "http://localhost:4200/image", // imageserver.js
minimal: true,
uploadOnPaste: false,