Report an issue
Module

core/editor/utils/attachtoform

@ckeditor/ckeditor5-core/src/editor/utils/attachtoform

module

Filtering

Functions

  • attachToForm( editor )

    static

    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 : Editor

    Editor instance.