From d376b1b3158448ffb75cb6b959a11a876787359d Mon Sep 17 00:00:00 2001 From: zbeyens Date: Mon, 18 Sep 2023 14:59:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/plate-ui/fixed-toolbar-buttons.tsx | 2 +- .../src/components/plate-ui/floating-toolbar-buttons.tsx | 2 +- .../src/components/plate-ui/mode-dropdown-menu.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/plate-playground-template/src/components/plate-ui/fixed-toolbar-buttons.tsx b/templates/plate-playground-template/src/components/plate-ui/fixed-toolbar-buttons.tsx index 1a04494998..9daf9f87e4 100644 --- a/templates/plate-playground-template/src/components/plate-ui/fixed-toolbar-buttons.tsx +++ b/templates/plate-playground-template/src/components/plate-ui/fixed-toolbar-buttons.tsx @@ -6,7 +6,7 @@ import { MARK_STRIKETHROUGH, MARK_UNDERLINE, } from '@udecode/plate-basic-marks'; -import { useEditorReadOnly } from '@udecode/plate-core'; +import { useEditorReadOnly } from '@udecode/plate-common'; import { MARK_BG_COLOR, MARK_COLOR } from '@udecode/plate-font'; import { ListStyleType } from '@udecode/plate-indent-list'; import { ELEMENT_IMAGE } from '@udecode/plate-media'; diff --git a/templates/plate-playground-template/src/components/plate-ui/floating-toolbar-buttons.tsx b/templates/plate-playground-template/src/components/plate-ui/floating-toolbar-buttons.tsx index 6aab0cc38c..aedd7c567b 100644 --- a/templates/plate-playground-template/src/components/plate-ui/floating-toolbar-buttons.tsx +++ b/templates/plate-playground-template/src/components/plate-ui/floating-toolbar-buttons.tsx @@ -6,7 +6,7 @@ import { MARK_STRIKETHROUGH, MARK_UNDERLINE, } from '@udecode/plate-basic-marks'; -import { useEditorReadOnly } from '@udecode/plate-core'; +import { useEditorReadOnly } from '@udecode/plate-common'; import { Icons } from '@/components/icons'; import { CommentToolbarButton } from '@/components/plate-ui/comment-toolbar-button'; diff --git a/templates/plate-playground-template/src/components/plate-ui/mode-dropdown-menu.tsx b/templates/plate-playground-template/src/components/plate-ui/mode-dropdown-menu.tsx index f6c5eafece..a931815f68 100644 --- a/templates/plate-playground-template/src/components/plate-ui/mode-dropdown-menu.tsx +++ b/templates/plate-playground-template/src/components/plate-ui/mode-dropdown-menu.tsx @@ -2,10 +2,10 @@ import React from 'react'; import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu'; import { focusEditor, + useEditorReadOnly, useEditorState, usePlateStore, } from '@udecode/plate-common'; -import { useEditorReadOnly } from '@udecode/plate-core'; import { Icons } from '@/components/icons';