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 e5fce6c commit f2fa6faCopy full SHA for f2fa6fa
src/components/style-guide/utils.js
@@ -296,10 +296,12 @@ export const RenderBlock = props => {
296
297
return (
298
<>
299
+ { /* Insert the label as a string inside RawHTML so that it appears within
300
+ the <div> wrapper that RawHTML generates, ensuring proper structure. */ }
301
<RawHTML>
302
{ cleanSerializedBlock( serialized, SERIALIZE_CALLBACKS[ blockName ], attributes ) }
303
+ { `<p>${ name }</p>` }
304
</RawHTML>
- <p>{ name }</p>
305
</>
306
)
307
}
0 commit comments