Skip to content

Commit ee917f5

Browse files
committed
fix(pages): hide tiptap extensions on readonly pages
1 parent 346e790 commit ee917f5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/client/src/code/tiptap/image-resize/NodeView.vue

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
/>
1212

1313
<div
14+
v-if="!internals.pages.react.page.react.readOnly"
1415
class="resize-handle"
1516
@pointerdown.left.stop.prevent="onResizeHandleLeftPointerDown"
1617
:style="{

apps/client/src/code/tiptap/youtube-video/NodeView.vue

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
></iframe>
1414

1515
<div
16+
v-if="!internals.pages.react.page.react.readOnly"
1617
class="resize-handle"
1718
@pointerdown.left.stop.prevent="onResizeHandleLeftPointerDown"
1819
:style="{

0 commit comments

Comments
 (0)