add missing contenteditable

This commit is contained in:
Philipp Kühn
2021-03-25 08:34:24 +01:00
parent aa93e97359
commit 4f45572369
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import { NodeViewWrapper, NodeViewContent } from '@tiptap/react'
export default () => {
return (
<NodeViewWrapper className="react-component-with-content">
<span className="label">React Component</span>
<span className="label" contenteditable="false">React Component</span>
<NodeViewContent className="content" />
</NodeViewWrapper>

View File

@@ -1,6 +1,6 @@
<template>
<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-wrapper>