Move setActiveTabPath after tab content is loaded to prevent Editor's useEffect from firing before the tab exists in the tabs array. Add try/catch around editor.replaceBlocks for defensive error handling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>