File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,10 +161,10 @@ export function createBlockSpec<
161
161
// just render a placeholder div inside as the `blockContent` element
162
162
// already has all the information needed for proper parsing.
163
163
const div = document . createElement ( "div" ) ;
164
- div . setAttribute ( "data-tmp-placeholder" , "true" ) ;
165
164
return wrapInBlockStructure (
166
165
{
167
166
dom : div ,
167
+ contentDOM : blockConfig . content === "inline" ? div : undefined ,
168
168
} ,
169
169
blockConfig . type ,
170
170
{ } ,
Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ export function createReactBlockSpec<
138
138
// just render a placeholder div inside as the `blockContent` element
139
139
// already has all the information needed for proper parsing.
140
140
const div = document . createElement ( "div" ) ;
141
- div . setAttribute ( "data-tmp-placeholder" , "true" ) ;
142
141
return wrapInBlockStructure (
143
142
{
144
143
dom : div ,
144
+ contentDOM : blockConfig . content === "inline" ? div : undefined ,
145
145
} ,
146
146
blockConfig . type ,
147
147
{ } ,
You can’t perform that action at this time.
0 commit comments