froderf
froderf
I'm trying to update the css of selected element. Example: Selected element: `Hello` *** the above code was returned from component.toHTML(); CSS: ` .class1{ background-color: black; } ` *** the...
Hi @artf , I'm reading and experimenting the setStyle method but when i used setStyle `editor.getSelectedToStyle().setStyle({ color: 'red' })` it duplicates the css rule of that class e.g ``` .class1{...
Hi @artf. Is there something similar to this `editor.CodeManager.setCode(component, 'css', {cssc: editor.CssComposer}` to update the css rule of the selected block returned from `editor.CodeManager.getCode(component, 'css', {cssc: editor.CssComposer});` For example: This...
Hi @artf, I noticed that when I used the style manager it applies the style to the whole class of the component selected for example if i have a component...
Hello @artf , is there a way to not convert a css added into shorthand? for example: `border: 4px solid rgb(239, 13, 24);` after visiting the code viewer, the above...
Hi @artf , this is not actually a bug but I would like to ask if there is something like global design for every blocks. for example all images has...
When I drag a block into the canvas, some attributes of that block is missing ``` blocks: [ { label: 'Container', content: '', },//end of container ] ``` from the...
``` //returnedCssObject is an object that contains css styles cssComposer.setClassRule("class1 class2", returnedCssObject); ``` above code is not working but the below is working ``` //returnedCssObject is an object that contains...
I'm thinking about adding multiple page with header and footer Currently I have an idea on how to implement the multiple page but I don't know how to implement header...
``` .sample-class{ color: red; } .sample-class::after{ content:''; color: black; } ``` I can't get the css rule of a class with '::after' `cssComposer.getClassRule("sample-class", {state: 'after'})` is there a way to...