Skip to content

Cannot set default device #90

@restuedos

Description

@restuedos

I have a custom plugin that are using grapesjs-preset-webpage.

Image

I have achieved what I want, but the device icon is not selected even after using:

  • editor.setDevice('mobilePortrait')
  • editor.runCommand('set-device-mobile')

I think its an issue with grapesjs version used by grapesjs-preset-webpage. Is there a way to set the selected device?
It works normally without the plugin.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions