Refactor interactivity demos
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
import setup from '../../../../setup/react.ts'
|
import setup from '../../../../setup/react.ts'
|
||||||
import source from '@source'
|
import source from '@source'
|
||||||
setup('GuideNodeViews/Component', source)
|
setup('Examples/InteractivityComponent', source)
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
import setup from '../../../../setup/vue.ts'
|
import setup from '../../../../setup/vue.ts'
|
||||||
import source from '@source'
|
import source from '@source'
|
||||||
setup('GuideNodeViews/Component', source)
|
setup('Examples/InteractivityComponent', source)
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
import setup from '../../../../setup/react.ts'
|
import setup from '../../../../setup/react.ts'
|
||||||
import source from '@source'
|
import source from '@source'
|
||||||
setup('GuideNodeViews/ComponentContent', source)
|
setup('Examples/InteractivityComponentContent', source)
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
import setup from '../../../../setup/vue.ts'
|
import setup from '../../../../setup/vue.ts'
|
||||||
import source from '@source'
|
import source from '@source'
|
||||||
setup('GuideNodeViews/ComponentContent', source)
|
setup('Examples/InteractivityComponentContent', source)
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -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.
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user