Skip to content

Commit

Permalink
Code block: Add core/paragraph in transforms object (#38295)
Browse files Browse the repository at this point in the history
  • Loading branch information
amustaque97 authored Feb 1, 2022
1 parent 395db26 commit 65b092a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/code/transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const transforms = {
},
{
type: 'block',
blocks: [ 'core/html' ],
blocks: [ 'core/html', 'core/paragraph' ],
transform: ( { content } ) => {
return createBlock( 'core/code', {
content,
Expand Down

0 comments on commit 65b092a

Please sign in to comment.