• Updates the theme of an editor. The editor needs to be inside a shadow root with a style element for the theme whoose id is "theme". This is the case when using the setups.

    Parameters

    • editor: PrismEditor

      Editor you want to change the theme of.

    • theme: string

      Name of the new theme.

    Returns void

Generated using TypeDoc