Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix color picker missing prop

Ammar Ahmed16f4184e2563
diff --git a/packages/editor/src/toolbar/popups/cell-properties.tsx b/packages/editor/src/toolbar/popups/cell-properties.tsx
index e5b56b942..81d5bfcb1 100644
--- a/packages/editor/src/toolbar/popups/cell-properties.tsx
+++ b/packages/editor/src/toolbar/popups/cell-properties.tsx
@@ -44,6 +44,7 @@ export function CellProperties(props: CellPropertiesProps) {
>
<Box mt={2} />
<ColorPicker
+ editor={editor}
expanded={true}
color={attributes.backgroundColor}
onChange={(color) =>
@@ -67,6 +68,7 @@ export function CellProperties(props: CellPropertiesProps) {
>
<Box mt={2} />
<ColorPicker
+ editor={editor}
expanded={true}
color={attributes.color}
onChange={(color) =>
@@ -88,6 +90,7 @@ export function CellProperties(props: CellPropertiesProps) {
>
<Box mt={2} />
<ColorPicker
+ editor={editor}
expanded={true}
color={attributes.borderColor}
onChange={(color) =>