add more content to the basic example
This commit is contained in:
@@ -77,9 +77,27 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.editor = new Editor({
|
this.editor = new Editor({
|
||||||
extensions: defaultExtensions(),
|
extensions: defaultExtensions(),
|
||||||
content: `
|
content: `
|
||||||
<h2>Hey there!</h2>
|
<h2>
|
||||||
<p>This editor is based on Prosemirror, fully extendable and renderless. You can easily add custom nodes as Vue components.</p>
|
Hi there,
|
||||||
|
</h2>
|
||||||
|
<p>
|
||||||
|
this is a very <em>basic</em> example of tiptap.
|
||||||
|
</p>
|
||||||
|
<pre><code>body { display: none; }</code></pre>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
A regular list
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
With regular items
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<blockquote>
|
||||||
|
It's amazing 👏
|
||||||
|
<br />
|
||||||
|
– mom
|
||||||
|
</blockquote>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user