From 7c069e3eb6a925e8f73c1e7a60ff897f5e670ee0 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Thu, 10 Sep 2020 14:51:07 +0200 Subject: [PATCH] add new extensions to the basic example --- docs/src/demos/Examples/Basic/index.vue | 17 ++++++++++++++++- docs/src/docPages/overview/upgrade-guide.md | 5 ++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/src/demos/Examples/Basic/index.vue b/docs/src/demos/Examples/Basic/index.vue index ca513587..629aa0ad 100644 --- a/docs/src/demos/Examples/Basic/index.vue +++ b/docs/src/demos/Examples/Basic/index.vue @@ -10,6 +10,12 @@ + + @@ -34,6 +40,15 @@ + + + @@ -61,11 +76,11 @@ export default { mounted() { this.editor = new Editor({ + extensions: defaultExtensions(), content: `

Hey there!

This editor is based on Prosemirror, fully extendable and renderless. You can easily add custom nodes as Vue components.

`, - extensions: defaultExtensions(), }) window.editor = this.editor diff --git a/docs/src/docPages/overview/upgrade-guide.md b/docs/src/docPages/overview/upgrade-guide.md index 0ec1b9f8..9863a542 100644 --- a/docs/src/docPages/overview/upgrade-guide.md +++ b/docs/src/docPages/overview/upgrade-guide.md @@ -32,4 +32,7 @@ In case you’ve built some custom extensions for your project, you’ll need to ```js const CustomExtension = … -``` \ No newline at end of file +``` + +### Blockquotes must not be nested anymore +