Skip to content

Headless/read-only blocks cleanup #8732

@FranciscoCaetano88

Description

@FranciscoCaetano88

Check for duplicates

  • I have searched for similar issues before opening a new one.

Problem

I have a use case where I use a read-only workspace to display some blocks. Before rendering the blocks, I need to clean up the workspace, as the blocks are occasionally positioned randomly and I want the preview to be clean.

Request

It would be helpful if we could clean up the blocks without needing to render a workspace (as I only want the blocks to be visible after the cleanup) or if this could be done in read-only mode. Would prefer the latter.

Alternatives considered

Create and render a temporary workspace, render the blocks, cleanup the blocks, export the blocks state, destroy the temporary workspace, create and render the read-only workspace, load the cleaned up blocks in the read-only workspace.

Additional context

No response

Metadata

Metadata

Assignees

Labels

issue: feature requestDescribes a new feature and why it should be added

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions