Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 3421f10

Browse files
fix(deps): update dependency @udecode/plate to v19.1.1 (#424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Lautzenheiser <[email protected]>
1 parent bc7bee9 commit 3421f10

File tree

3 files changed

+459
-376
lines changed

3 files changed

+459
-376
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@reduxjs/toolkit": "1.9.1",
7777
"@styled-icons/fluentui-system-regular": "10.47.0",
7878
"@styled-icons/remix-editor": "10.46.0",
79-
"@udecode/plate": "19.0.7",
79+
"@udecode/plate": "19.1.1",
8080
"@udecode/plate-juice": "19.1.1",
8181
"@udecode/plate-serializer-md": "19.0.6",
8282
"@uiw/codemirror-extensions-langs": "4.19.7",

packages/core/src/widgets/markdown/plate/components/buttons/common/ColorPickerToolbarDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const ColorPickerToolbarDropdown: FC<ColorPickerToolbarDropdownProps> = ({
3939

4040
const type = getPluginType(editorRef, pluginKey);
4141

42-
const color = editorRef && getMark(editorRef, type);
42+
const color = editorRef && (getMark(editorRef, type) as string);
4343

4444
const [selectedColor, setSelectedColor] = useState<string>();
4545

0 commit comments

Comments
 (0)