diff --git a/frontend/packages/editor/src/blocknote/core/extensions/Blocks/nodes/Block.module.css b/frontend/packages/editor/src/blocknote/core/extensions/Blocks/nodes/Block.module.css index a1f431692e..8c8409259c 100644 --- a/frontend/packages/editor/src/blocknote/core/extensions/Blocks/nodes/Block.module.css +++ b/frontend/packages/editor/src/blocknote/core/extensions/Blocks/nodes/Block.module.css @@ -152,14 +152,14 @@ NESTED BLOCKS --prev-level: 1.8em; } -.blockOuter[data-prev-type='heading'] > .block > .blockContent { +.blockOuter[data-prev-type='heading'] > .block .blockContent { font-size: var(--prev-level); font-weight: bold; } .blockOuter:not([data-prev-type]) > .block - > .blockContent[data-content-type='heading'] { + .blockContent[data-content-type='heading'] { font-size: var(--level); line-height: 1.2; max-width: 24ch; diff --git a/frontend/packages/editor/src/hypermedia-block-container.tsx b/frontend/packages/editor/src/hypermedia-block-container.tsx index 3b62a59117..22ae1ed48a 100644 --- a/frontend/packages/editor/src/hypermedia-block-container.tsx +++ b/frontend/packages/editor/src/hypermedia-block-container.tsx @@ -164,7 +164,7 @@ export const HMBlockContainer = Node.create<{ styles.blockOuter, hovered ? 'block-container-hovered' : '', )} - data-node-id="block-outer" + data-node-type="block-outer" >