Skip to content

Add view only mode - #121

Open
Kr0nox wants to merge 1 commit into
mainfrom
view-mode
Open

Add view only mode#121
Kr0nox wants to merge 1 commit into
mainfrom
view-mode

Conversation

@Kr0nox

@Kr0nox Kr0nox commented Aug 24, 2026

Copy link
Copy Markdown
Member

By setting the URL flag viewOnly=true, the viewer will hide all floating elements

Beispiel: https://dataflowanalysis.github.io/OnlineEditorStaging/prs/121/?viewOnly=true

@Kr0nox

Kr0nox commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

/stage

@Nicolas-Boltz

Copy link
Copy Markdown
Member

As it should only be used for viewing, you should also disable keyboard shortcuts.

Also, I would assume, that viewOnly includes setting readOnly to true. But if we can just set both to true individually thats fine as well

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants