feat: load visual editing overlay styles with standalone v2 - #1530
Merged
Conversation
5 tasks
✅ Deploy Preview for nuxt-sanity-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
commit: |
stipsan
commented
Aug 13, 2026
3 tasks
Collaborator
Author
|
|
Collaborator
Author
|
Dropped the local |
6 tasks
@sanity/visual-editing-standalone@2 no longer injects CSS, so import styles.css next to enableVisualEditing() to keep overlay styles loading. Co-authored-by: Cursor <cursoragent@cursor.com>
stipsan
force-pushed
the
feat/visual-editing-standalone-v2
branch
from
August 17, 2026 12:14
04d7e52 to
98e4a7e
Compare
Keep @sanity/visual-editing-standalone at ^2.0.1 after main landed ^2.0.0. Co-authored-by: Cursor <cursoragent@cursor.com>
Draft
stipsan
added a commit
that referenced
this pull request
Aug 18, 2026
Keep private onPerspectiveChange/onVariantChange after #1530 landed. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@sanity/visual-editing-standaloneto^2. Standalone v2 no longer injects CSS from JS.styles.cssnext toenableVisualEditing()inuseSanityVisualEditingso overlays keep working (no opt-out, not pushed ontonuxt.options.css).Test plan
mode: 'custom'callinguseSanityVisualEditing()also gets the stylesheet