Trevixal API
    Preparing search index...

    Function createCustomStyles

    • Host- or user-supplied CSS, scoped to the editor by prefixing every rule with the surface's selector unless the rule already mentions it. That way a stray body { display: none } cannot take the page down with it.

      Parameters

      • document: Document
      • scope: string = '.trevixal-content'

      Returns CustomStyles