Issue #2165Opened July 24, 2019by sdrebel0 reactions

[QUESTION] How to extend style manger Sector's property

Question

Code SnippetTEXT
Hi @artf ,

We have created a custom asset manager which is working perfectly for image component. However we are not able to call custom asset manager for background image. 

Tried to access using this methods
          var stm = editor.StyleManager;
var fileType = stm.getType('file');
stm.addType('file',{
 model: fileType.model,
view: fileType.view.extend({
        events: {
     ......
   }
})
})

Is there any other method which we can use editor.StyleManager.getSector() and override the function?


Thank you,

Answers (2)

artfAugust 7, 20190 reactions

Hi @sdrebel can you show us your implementation of custom asset manager? If you have followed this you should see it also in the Style manager

no-response[bot]August 17, 20190 reactions

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

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.