[QUESTION] How to extend style manger Sector's property
Question
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)
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
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.
Issue #1493
[QUESTION] render() works on the first time but not on subsequent calls
Hello, I've created a custom component that shows images using background-image on a <div> instead of using an <img> element. It's mostly w...
Issue #2777
[QUESTION] How to update styles in Style Manager
Hello. I created custom component where I set backgraound-image via custom asset manager Custom block code: Command which I run to set new...
Issue #3404
Style Manager Issue.
Hi @artf I want to hide and show style properties for specific component. After referencing this issue https://github.com/artf/grapesjs/iss...
Issue #3184
[Question] Click issue on integrating grapesjs-style-bg plugin to the web builder
I am using GrapesJS version (0.16.27) and have integrated grapesjs-style-bg plugin to the editor. The functionality works perfectly fine. B...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.