Skip to content

EventObj interface is not exported #427

Description

@heggiG

What is the current behavior?

The (onInit) output of the EditorComponent wants a method with a parameter of type EventObj<any>, however the EventObj interface is not exported and can't be imported.

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.

import { EventObj } from '@tinymce/tinymce-angular/editor/Events';

What is the expected behavior?

Allow us to import that Interface for correct method parameters

Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or TinyMCE-Angular?

Using tinymce-angular 9.1.0, Angular 20.1.4 and TypeScript 5.8.0
This worked with Angular 19 and TypeScript 5.5.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions