MCPcopy
hub / github.com/GrapesJS/grapesjs / getStyle

Method getStyle

packages/core/src/editor/index.ts:342–344  ·  view source on GitHub ↗

* Returns style in JSON format object * @return {Object}

()

Source from the content-addressed store, hash-verified

340 * @return {Object}
341 */
342 getStyle(): CssRules {
343 return this.em.Css.getAll();
344 }
345
346 /**
347 * Set style inside editor's canvas. This method overrides actual style

Callers 15

index.tsFile · 0.45
index.tsFile · 0.45
index.tsFile · 0.45
Properties.tsFile · 0.45
index.tsFile · 0.45
datasources.tsFile · 0.45
index.tsFile · 0.45
Component.tsFile · 0.45
index.tsFile · 0.45
CssModels.tsFile · 0.45
serialization.tsFile · 0.45

Calls 1

getAllMethod · 0.45

Tested by

no test coverage detected