Skip to content

Add editor toggle#602

Draft
hannessolo wants to merge 2 commits into
mainfrom
editortoggle
Draft

Add editor toggle#602
hannessolo wants to merge 2 commits into
mainfrom
editortoggle

Conversation

@hannessolo

Copy link
Copy Markdown
Contributor

claude and others added 2 commits July 15, 2026 10:42
Adds <nx-editortoggle>, a role="switch" nav-bar control that mirrors the
site-level ew.enabled flag with a per-user localStorage override. Hidden
whenever the site already has ew.enabled=true. Toggling swaps /edit
</> /canvas for the current doc (preserving search + hash) or reloads
so consumers re-read isEWEnabled from scratch.

nav.js force-injects the toggle for now (marked TEMP) so it's visible
without a nav-fragment content change.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@aem-code-sync

aem-code-sync Bot commented Jul 15, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants