grapesjs-parser-postcss icon indicating copy to clipboard operation
grapesjs-parser-postcss copied to clipboard

nested rule parsing

Open makbari opened this issue 5 years ago • 0 comments

When there is a nested add rules, current parser return undefined: undefined. example:

@page Normal {
                size: 21.0cm 29.7cm;
                margin: 2.5cm;
                @top-left {
                  content: "@top-left";
                  background-color: orange;
                  padding: 10px;
                  border: 2px solid blue; 
                }
}

(in this example @top-left will be undefined. Also, in grapes js there is change for handling multiple and nested at rules.

makbari avatar Aug 03 '20 07:08 makbari