Browse Source

Merge branch 'dev' of https://github.com/artf/grapesjs into dev

pull/4134/head
Artur Arseniev 4 years ago
parent
commit
7267528df1
  1. 1
      src/editor/index.js

1
src/editor/index.js

@ -169,6 +169,7 @@ export default (config = {}, opts = {}) => {
* @param {Boolean} [opts.json=false] Return an array of CssRules instead of the CSS string
* @param {Boolean} [opts.avoidProtected=false] Don't include protected CSS
* @param {Boolean} [opts.onlyMatched=false] Return only rules matched by the passed component.
* @param {Boolean} [opts.keepUnusedStyles=false] Force keep all defined rules. Toggle on in case output looks different inside/outside of the editor.
* @returns {String|Array<CssRule>} CSS string or array of CssRules
*/
getCss(opts) {

Loading…
Cancel
Save