From a8d700a266c85a7502c773eb40a52814a47a4e9f Mon Sep 17 00:00:00 2001 From: lofcz Date: Sat, 5 Feb 2022 22:25:43 +0100 Subject: [PATCH] Up docs --- docs/api/editor.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/editor.md b/docs/api/editor.md index 041cfbe68..3ec49efdf 100644 --- a/docs/api/editor.md +++ b/docs/api/editor.md @@ -120,6 +120,8 @@ Returns CSS built inside canvas * `opts.json` **[Boolean][18]** Return an array of CssRules instead of the CSS string (optional, default `false`) * `opts.avoidProtected` **[Boolean][18]** Don't include protected CSS (optional, default `false`) * `opts.onlyMatched` **[Boolean][18]** Return only rules matched by the passed component. (optional, default `false`) + * `opts.keepUnusedStyles` **[Boolean][18]** Force keep all defined rules. Toggle on in case output looks different inside/outside of the editor. (optional, default `false`) + Returns **([String][16] | [Array][19]\)** CSS string or array of CssRules