Skip to content

Commit

Permalink
Revert "also update custom placeholder data attr"
Browse files Browse the repository at this point in the history
This reverts commit 4d1f50f.
  • Loading branch information
draganescu committed Dec 19, 2024
1 parent 4d1f50f commit eb7e029
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/block-library/src/paragraph/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,7 @@ function ParagraphBlock( {
}
data-empty={ RichText.isEmpty( content ) }
placeholder={ placeholder || __( 'Type / to choose a block' ) }
data-custom-placeholder={
placeholder &&
placeholder !== '' &&
placeholder !== __( 'Type / to choose a block' )
? true
: undefined
}
data-custom-placeholder={ placeholder ? true : undefined }
__unstableEmbedURLOnPaste
__unstableAllowPrefixTransformations
/>
Expand Down

0 comments on commit eb7e029

Please sign in to comment.