We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b84af commit ebe9785Copy full SHA for ebe9785
packages/core/src/api/exporters/html/util/serializeBlocksExternalHTML.ts
@@ -141,6 +141,8 @@ function serializeBlock<
141
);
142
143
if (ret.dom.classList.contains("bn-block-content")) {
144
+ // We wrap the output in an `li` element for list items, and so we want to
145
+ // add the attributes to that element instead as it is the "root".
146
if (!listType) {
147
for (const attr of blockContentDataAttributes) {
148
(ret.dom.firstChild! as HTMLElement).setAttribute(
0 commit comments