Skip to content
Discussion options

You must be logged in to vote

This works on current versions. preview runs in readonly because it's in the default allowCommandsInReadOnly (['selectall', 'preview', 'print']) — that option was added in the fix for #878, after you reported this. So readonly: true together with activeButtonsInReadOnly: ['source', 'preview'] opens the preview dialog as expected.

I just checked your exact config on the current build and the preview dialog opens with the content, so if it no-ops for you you're on an older build from before that option existed — upgrade to the latest and it'll work.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by xdan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants