add missing contenteditable
This commit is contained in:
@@ -4,7 +4,7 @@ import { NodeViewWrapper, NodeViewContent } from '@tiptap/react'
|
|||||||
export default () => {
|
export default () => {
|
||||||
return (
|
return (
|
||||||
<NodeViewWrapper className="react-component-with-content">
|
<NodeViewWrapper className="react-component-with-content">
|
||||||
<span className="label">React Component</span>
|
<span className="label" contenteditable="false">React Component</span>
|
||||||
|
|
||||||
<NodeViewContent className="content" />
|
<NodeViewContent className="content" />
|
||||||
</NodeViewWrapper>
|
</NodeViewWrapper>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<node-view-wrapper class="vue-component">
|
<node-view-wrapper class="vue-component">
|
||||||
<span class="label">Vue Component</span>
|
<span class="label" contenteditable="false">Vue Component</span>
|
||||||
|
|
||||||
<node-view-content class="content" />
|
<node-view-content class="content" />
|
||||||
</node-view-wrapper>
|
</node-view-wrapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user