Ace API Reference
    Preparing search index...

    Function edit

    • Embeds the Ace editor into the DOM, at the element provided by el.

      Parameters

      • Optionalel: string | HTMLElement & { env?: any; value?: any }

        Either the id of an element, or the element itself

      • Optionaloptions: Partial<EditorOptions>

        Options for the editor

      Returns Editor