The fix for XWIKI-23233 introduced changes that switched from Promise.resolve (95% available) to Promise.try (84% available) which breaks the editor in several browser (i.e. Firefox 128 ESR).
PR: https://github.com/xwiki/xwiki-platform/pull/4376