diff --git a/packages/editor/src/components/post-actions/actions.js b/packages/editor/src/components/post-actions/actions.js index 09f9a4c3f61b49..2501abb927c2d8 100644 --- a/packages/editor/src/components/post-actions/actions.js +++ b/packages/editor/src/components/post-actions/actions.js @@ -762,7 +762,9 @@ function ReorderModal( { items, closeModal, onActionPerformed } ) { } ); } } - + const saveIsDisabled = + ! Number.isInteger( Number( orderInput ) ) || + orderInput?.trim?.() === ''; return (