Sign up (with export icon)

core/editor/utils/attachtoform

Api-module iconmodule

Functions

  • Chevron-right icon

    attachToForm( editor ) → void

    Checks if the editor is initialized on a <textarea> element that belongs to a form. If yes, it updates the editor's element content before submitting the form.

    This helper requires the ElementApi interface.

    Parameters

    editor : object

    Editor instance.

    Returns

    void