Skip to content

feat: add editor readonly mode#5010

Merged
Pavel910 merged 6 commits intonextfrom
pavel/feat/wb-readonly-editor
Mar 13, 2026
Merged

feat: add editor readonly mode#5010
Pavel910 merged 6 commits intonextfrom
pavel/feat/wb-readonly-editor

Conversation

@Pavel910
Copy link
Collaborator

@Pavel910 Pavel910 commented Mar 13, 2026

Summary

  • Add readonly mode to the base editor with IsReadOnly / IsNotReadOnly config components for conditionally rendering UI elements
  • Add useEnvConfig hook and EnvConfig feature for accessing environment configuration
  • Improve page editor layout calculations. Uses data-affects-preview DOM attribute to dynamically calculate reserved editor UI space, and derive the available preview space
  • Add fill-grid CSS utility class for grid backgrounds
  • Clean up unused WIP extensions
  • Simplify implementation of app-website-builder-workflows; uses the new read-only editor mode
  • add editor hooks to exports

@Pavel910 Pavel910 added this to the 6.0.0 milestone Mar 13, 2026
@Pavel910 Pavel910 merged commit a6e7034 into next Mar 13, 2026
18 checks passed
@Pavel910 Pavel910 deleted the pavel/feat/wb-readonly-editor branch March 13, 2026 19:45
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.

1 participant