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 <lautzd@gmail.com>
This commit is contained in:
parent
bc7bee9ca7
commit
3421f1012d
@ -76,7 +76,7 @@
|
|||||||
"@reduxjs/toolkit": "1.9.1",
|
"@reduxjs/toolkit": "1.9.1",
|
||||||
"@styled-icons/fluentui-system-regular": "10.47.0",
|
"@styled-icons/fluentui-system-regular": "10.47.0",
|
||||||
"@styled-icons/remix-editor": "10.46.0",
|
"@styled-icons/remix-editor": "10.46.0",
|
||||||
"@udecode/plate": "19.0.7",
|
"@udecode/plate": "19.1.1",
|
||||||
"@udecode/plate-juice": "19.1.1",
|
"@udecode/plate-juice": "19.1.1",
|
||||||
"@udecode/plate-serializer-md": "19.0.6",
|
"@udecode/plate-serializer-md": "19.0.6",
|
||||||
"@uiw/codemirror-extensions-langs": "4.19.7",
|
"@uiw/codemirror-extensions-langs": "4.19.7",
|
||||||
|
@ -39,7 +39,7 @@ const ColorPickerToolbarDropdown: FC<ColorPickerToolbarDropdownProps> = ({
|
|||||||
|
|
||||||
const type = getPluginType(editorRef, pluginKey);
|
const type = getPluginType(editorRef, pluginKey);
|
||||||
|
|
||||||
const color = editorRef && getMark(editorRef, type);
|
const color = editorRef && (getMark(editorRef, type) as string);
|
||||||
|
|
||||||
const [selectedColor, setSelectedColor] = useState<string>();
|
const [selectedColor, setSelectedColor] = useState<string>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user