Skip to content

Commit 26c1e7d

Browse files
committed
Update EditorBlocks.tsx
1 parent b432537 commit 26c1e7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/routes/_editor+/core/components/EditorBlocks.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ export function EditorBlocks({
6464
switch (element.type) {
6565
case BlockType.Paragraph: {
6666
if (readOnly) {
67-
console.log("element", element);
6867
// check if children is an empty string, if so, return an empty div
6968
//otherwise this will create <br /> in span elements and cause html validation errors
7069
children = children?.[0]?.text === "" ? <div></div> : children;

0 commit comments

Comments
 (0)