Skip to content

Commit

Permalink
Don't add Post Content layout styles to title in the post editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Mar 2, 2023
1 parent 48e06f6 commit 22679c5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/edit-post/src/components/visual-editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,15 +376,11 @@ export default function VisualEditor( { styles } ) {
{ ! isTemplateMode && (
<div
className={ classnames(
// This wrapper div should have the same
// classes as the block list beneath.
'is-root-container',
'block-editor-block-list__layout',
'edit-post-visual-editor__post-title-wrapper',
{
'is-focus-mode': isFocusMode,
},
blockListLayoutClass
'is-layout-flow'
) }
contentEditable={ false }
>
Expand Down

0 comments on commit 22679c5

Please sign in to comment.