Skip to content

Commit

Permalink
Editor: Do not truncate post excerpt if not editable (#63314)
Browse files Browse the repository at this point in the history
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]>
  • Loading branch information
4 people authored Jul 9, 2024
1 parent c1c46e6 commit 9a8be7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-excerpt/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function PrivateExcerpt() {
return false;
}
const excerptText = !! excerpt && (
<Text align="left" numberOfLines={ 4 } truncate>
<Text align="left" numberOfLines={ 4 } truncate={ allowEditing }>
{ decodeEntities( excerpt ) }
</Text>
);
Expand Down

0 comments on commit 9a8be7c

Please sign in to comment.