'CKEditor5 Restrict drag and drop

I have a custom created ckeditor5 component which renders a text.

As part of the development requierments, i do not want to make it possible to drag one of my custom components upon another custom component.

Is there a way to specify that nothing can be dropped on a ckeditor5 component ?

Trying to solve the issue with the drop event and event.stop() does not work as expected.

This approach i have found does not solve my problem : How can I disable drop events in CKEditor 5



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source