Skip to content

[TS] Provide TypeScript Typings for CKEditorInspector  #173

@mmichaelis

Description

@mmichaelis

Now, that CKEditor 5 37.x ships with TypeScript typings, it would be great to benefit from corresponding typings also for CKEditorInspector.

Workaround

declare class CKEditorInspector {
  static attach(editorOrConfig: Editor | Record<string, Editor>, options?: { isCollapsed?: boolean }): string[];
}

(if I got the documentation straight and skipping attachToAll)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions