Prince
Prince
You can check in your demo page. https://grapesjs.com/demo.html https://vimeo.com/289217284
@jvillena I have used this code but it is not working. editor.on('run:preview', () => { editor.stopCommand('sw-visibility'); }); editor.on('stop:preview', () => `editor.runCommand('sw-visibility');` });
@nojacko I have a template which contain countdown, If I direct import as html then it changed to div so I want to import that as json and css so...
@xamdam777 When we import countdomn saved in html format it changed it to box and countdown settings does not appear. When we use JSON then it's setting come when we...
Hello @emilsedgh Please check the below code it may help you. ``` editor.on('load', function() { const updateAll = model => { model.set({editable: false,selectable:false,hoverable:false}); model.get('components').each(model => updateAll(model)); } updateAll(editor.DomComponents.getWrapper()); }); ```
@artf Problem is that if we add a style mobile first and then on tab then mobile view css is override by tab view and all the css applied for...
@artf Any Update about this as it's a big issue. User can not update css for tab once they apply for the mobie first. They need to delete and readd...
@artf I have used ```` var model = editor.getSelected(); var style=model.getStyle(); style['height'] = '500px'; model.setStyle(style); editor.trigger('component:toggled') ```` but it did not updated the value of height field in left panel.