Skip to content
Discussion options

You must be logged in to vote

wrong id of the device, but setDevice could also work.

Anyway, you can pass the grapesjs options in Studio in this way:

createStudioEditor({
  options={{
    gjsOptions: {
      deviceManager: { default: 'mobilePortrait' }
     }

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@2441630833
Comment options

@artf
Comment options

artf May 28, 2025
Maintainer

Answer selected by 2441630833
@2441630833
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants