View UI component

Jodit components [Component] require the parent component IJodit, or IViewBased to work.
But Jodit itself is also a component. And for its initialization, it only needs options.

Also Dialog, it does not need a Jodit instance to run.
You can display the dialog independently of the editor.

const dialog = new Jodit.module.Dialog();
dialog.setContent('Hello world!');;

Thus, if you need a component that has its own event system, its own Async module, then you must inherit from View.

import { component } from 'jodit/core/decorators';
import { View } from 'jodit/core/view';

class YourComponent extends View {}

const elm = new YourComponent();'someEvent', () => alert('Yo'));