-
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.
Stop trying to autosave when title and classic block content both are…
… empty. (#10404) * Do not auto-update if title and classic block content is empty. * Update isEditedPostEmpty: use hasKnownBlocks and check if freeform or unregistered or empty content block is available in post. * Update isEditablePost logic to check length of availalbe block first. * Editor: Improve selector consideration of empty content edit
- Loading branch information
1 parent
f3451ad
commit fae7777
Showing
2 changed files
with
274 additions
and
31 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
Oops, something went wrong.