File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/core/src/blocks/ListItem/CheckListItem Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ export const createCheckListItemBlockSpec = createBlockSpec(
9494 } ,
9595 toExternalHTML ( block ) {
9696 const dom = document . createDocumentFragment ( ) ;
97- addDefaultPropsExternalHTML ( block . props , dom ) ;
9897 const checkbox = document . createElement ( "input" ) ;
9998 checkbox . type = "checkbox" ;
10099 checkbox . checked = block . props . checked ;
@@ -105,6 +104,7 @@ export const createCheckListItemBlockSpec = createBlockSpec(
105104 // them in to be semantically correct, which we can't have due to the
106105 // schema.
107106 const paragraph = document . createElement ( "p" ) ;
107+ addDefaultPropsExternalHTML ( block . props , paragraph ) ;
108108
109109 dom . appendChild ( checkbox ) ;
110110 dom . appendChild ( paragraph ) ;
You can’t perform that action at this time.
0 commit comments