-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Post excerpt: Fix JavaScript error and other misc. bug fixes (#48730)
* Try to improve when the ellipsis shows * Prevent editing excerpts when it is not supported * Update edit.js * Remove unnecessary setExcerpt * Update edit.js * Update edit.js * Update packages/block-library/src/post-excerpt/edit.js Co-authored-by: Aki Hamano <[email protected]> * Add a constant for the ellipsis. * Update postTypeSupportsExcerpts to use an early return, simplify rawOrRenderedExcerpt --------- Co-authored-by: Ari Stathopoulos <[email protected]> Co-authored-by: Aki Hamano <[email protected]>
- Loading branch information
1 parent
6d53e81
commit 8da0dbf
Showing
1 changed file
with
45 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters