+
+
+ {
+ // Figure out why ReactEditor.findPath does not work
+ // const path = ReactEditor.findPath(editor as ReactEditor, leaf);
+ // const newProperties = {
+ // checked: event.target.checked,
+ // }
+ // Transforms.setNodes(editor, newProperties, { at: path })
+ setChecked(event.target.checked);
+ }}
+ />
+
+
+
+ {children}
+
+
+)}
+
+
const Quote = styled.blockquote`
border-left: 3px solid #9e9e9e;
margin: 0px;
@@ -61,7 +108,7 @@ const EditorBlock: FC