Refactor interactivity demos

This commit is contained in:
svenadlung 2021-11-22 20:48:04 +01:00
parent bdb055187a
commit d434675f74
19 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@
<script type="module">
import setup from '../../../../setup/react.ts'
import source from '@source'
setup('GuideNodeViews/Component', source)
setup('Examples/InteractivityComponent', source)
</script>
</body>
</html>

View File

@ -9,7 +9,7 @@
<script type="module">
import setup from '../../../../setup/vue.ts'
import source from '@source'
setup('GuideNodeViews/Component', source)
setup('Examples/InteractivityComponent', source)
</script>
</body>
</html>

View File

@ -9,7 +9,7 @@
<script type="module">
import setup from '../../../../setup/react.ts'
import source from '@source'
setup('GuideNodeViews/ComponentContent', source)
setup('Examples/InteractivityComponentContent', source)
</script>
</body>
</html>

View File

@ -9,7 +9,7 @@
<script type="module">
import setup from '../../../../setup/vue.ts'
import source from '@source'
setup('GuideNodeViews/ComponentContent', source)
setup('Examples/InteractivityComponentContent', source)
</script>
</body>
</html>

View File

@ -2,6 +2,6 @@
Thanks to [node views](/guide/node-views) you can add interactivity to your nodes. If you can write it in JavaScript, you can add it to the editor.
https://embed.tiptap.dev/preview/Examples/Interactivity/Component
https://embed.tiptap.dev/preview/Examples/InteractivityComponent
https://embed.tiptap.dev/preview/Examples/Interactivity/ComponentContent
https://embed.tiptap.dev/preview/Examples/InteractivityComponentContent