Issue #538Opened November 17, 2017by Geczy0 reactions

Clicking component always opens styles first, even if I override

Question

When I click the component, I want the traits to open

view: defaultType.view.extend({
        events: {
          click: e => {
            editor.Panels.getButton('views', 'open-sm').set('active', false)
            editor.Panels.getButton('views', 'open-tm').set('active', true)
          },

Clicking a component opens the styles. Clicking it one more time will finally open open-tm the traits manager.

How do I override opening styles on click?

Answers (3)

GeczyNovember 20, 20170 reactions

Good thinking, thanks ! Overwrote it in .init before render

lock[bot]September 18, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.