Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
This commit is contained in:
@@ -82,7 +82,7 @@ export default {
|
||||
|
||||
this.editor = new Editor({
|
||||
extensions: [
|
||||
...defaultExtensions(),
|
||||
...defaultExtensions().filter(extension => extension.config.name !== 'history'),
|
||||
Collaboration.configure({
|
||||
provider,
|
||||
}),
|
||||
|
||||
@@ -63,7 +63,9 @@ export default {
|
||||
margin-top: 0.75em;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.toc {
|
||||
opacity: 0.75;
|
||||
border-radius: 0.5rem;
|
||||
|
||||
@@ -27,15 +27,15 @@ export default {
|
||||
],
|
||||
content: `
|
||||
<toc></toc>
|
||||
<h2>heading</h2>
|
||||
<h2>1 heading</h2>
|
||||
<p>paragraph</p>
|
||||
<h3>heading</h3>
|
||||
<h3>1.1 heading</h3>
|
||||
<p>paragraph</p>
|
||||
<h3>heading</h3>
|
||||
<h3>1.2 heading</h3>
|
||||
<p>paragraph</p>
|
||||
<h2>heading</h2>
|
||||
<h2>2 heading</h2>
|
||||
<p>paragraph</p>
|
||||
<h3>heading</h3>
|
||||
<h3>2.1 heading</h3>
|
||||
<p>paragraph</p>
|
||||
`,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user