Issue #818πŸ’¬ AnsweredOpened January 29, 2018by JulyanoF0 reactions

Open different Panel's view on click text element

Quick answerby artf

different panel's view than StyleManager Probably you're talking about the behavior in the demo, implemented by the webpage preset here https://github.com/artf/grapesjs-preset-webpage/blob/master/src/panels/index.js#L106 So in your case, it'd be something like this:

Read full answer below ↓

Question

How can I make "click" event on texts open different panel's view than StyleManager? I'm trying this:

Answers (3)

artfβ€’ January 30, 2018

different panel's view than StyleManager Probably you're talking about the behavior in the demo, implemented by the webpage preset here https://github.com/artf/grapesjs-preset-webpage/blob/master/src/panels/index.js#L106 So in your case, it'd be something like this:

JulyanoFβ€’ January 31, 2018

@artf so, I tried it and didn't work, it isn't setting active my panel button with id "editorCK"

artfβ€’ January 31, 2018

Did you create the abrirEditor command?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.