From 8d8de50f518da69eb9b122ae556f433886b99075 Mon Sep 17 00:00:00 2001 From: Petyo Ivanov Date: Wed, 18 Oct 2023 09:15:36 +0300 Subject: [PATCH] fix: cut of image works Fixes #132 --- src/plugins/image/ImageNode.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/image/ImageNode.tsx b/src/plugins/image/ImageNode.tsx index f0db0266..50ab9dfb 100644 --- a/src/plugins/image/ImageNode.tsx +++ b/src/plugins/image/ImageNode.tsx @@ -50,7 +50,7 @@ export class ImageNode extends DecoratorNode { __height: 'inherit' | number static getType(): string { - return 'icage' + return 'image' } static clone(node: ImageNode): ImageNode {