Skip to content

Commit

Permalink
Fix: Disable HTML edit from Media & Text block (WordPress#12191)
Browse files Browse the repository at this point in the history
Blocks that rely on InnerBlocks have some problems if the user uses the HTML edit function of the block the editor may crash.
To solve that on the columns block HTML edit was disabled, this commit applies the same solution to the Media & Text block.
  • Loading branch information
jorgefilipecosta authored Nov 21, 2018
1 parent 4a44b55 commit c9fad3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/media-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const settings = {

supports: {
align: [ 'wide', 'full' ],
html: false,
},

transforms: {
Expand Down

0 comments on commit c9fad3b

Please sign in to comment.