Skip to content

Commit 7b5c90f

Browse files
authored
fix: default image zoom not being triggerable (#97)
1 parent 54fae49 commit 7b5c90f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/editor/editor.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ const Editor: FC<EditorProps> = ({ readOnly }) => {
8686
.ProseMirror a:not(.bookmark) {
8787
text-decoration: underline;
8888
}
89+
90+
.ProseMirror .image .ProseMirror-selectednode img {
91+
pointer-events: unset;
92+
}
8993
`}</style>
9094
</>
9195
)

0 commit comments

Comments
 (0)