Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module provides the basic infrastructure to implement interfaces to other editors. Yet, I am not sure that infrastructure is sufficient so far. Since a few days ago, there is an EditorInterface constructor. An IMCE interface would require inheriting from EditorInterface just like the CKEditor interface. I might take a look as soon as I have some time to spare from the time I work on the module. Broad interest in that functionality would definitely increase priority.
Scanning all 8.x tickets, I thought about picking this one for 2.x of the Insert module. Yet I am not sure on how to properly integrate TinyMCE itself into a D8 instance. Some references:
It boils down to CKEditor being the more or less one and only editor of choice in Drupal 8.
The Insert module is prepared to support other editors (yet it requires implementation of every editor's custom API). Nonetheless, under the given circumstances, it does not seem to be relevant to implement interfaces to other editors, as I currently do not see any module seamlessly integrating another editor (in particular TinyMCE). Although there is an interface in core that supports implementing other editors (see #2620674: [wysiwyg] Wysiwyg), because Wysiwyg module's functionality was included in core, I am not aware of any module using that to provide extensive TinyMCE support. While it would be possible to load and instantiate TinyMCE on-the-fly without any tight integration by simply injecting the library into the backend form, I do not see any large interest in that.
Since CKEditor is directly supported in Drupal 8 core, in general, using another editor does not seem to make much sense.
Bottom line: Unless there is no proper support for a given editor per another Drupal 8 module, I do not think it makes sense to implement an interface in the Insert module.
Of course, I may be wrong on anything above. So, feel free to correct me.
I am going to leave the ticket open for a few more weeks and will close it then, unless there is any new consideration.
Comments
Comment #2
Snater CreditAttribution: Snater commentedThe module provides the basic infrastructure to implement interfaces to other editors. Yet, I am not sure that infrastructure is sufficient so far. Since a few days ago, there is an EditorInterface constructor. An IMCE interface would require inheriting from EditorInterface just like the CKEditor interface. I might take a look as soon as I have some time to spare from the time I work on the module. Broad interest in that functionality would definitely increase priority.
Comment #3
Snater CreditAttribution: Snater commentedScanning all 8.x tickets, I thought about picking this one for 2.x of the Insert module. Yet I am not sure on how to properly integrate TinyMCE itself into a D8 instance. Some references:
It boils down to CKEditor being the more or less one and only editor of choice in Drupal 8.
The Insert module is prepared to support other editors (yet it requires implementation of every editor's custom API). Nonetheless, under the given circumstances, it does not seem to be relevant to implement interfaces to other editors, as I currently do not see any module seamlessly integrating another editor (in particular TinyMCE). Although there is an interface in core that supports implementing other editors (see #2620674: [wysiwyg] Wysiwyg), because Wysiwyg module's functionality was included in core, I am not aware of any module using that to provide extensive TinyMCE support. While it would be possible to load and instantiate TinyMCE on-the-fly without any tight integration by simply injecting the library into the backend form, I do not see any large interest in that.
Since CKEditor is directly supported in Drupal 8 core, in general, using another editor does not seem to make much sense.
Bottom line: Unless there is no proper support for a given editor per another Drupal 8 module, I do not think it makes sense to implement an interface in the Insert module.
Of course, I may be wrong on anything above. So, feel free to correct me.
I am going to leave the ticket open for a few more weeks and will close it then, unless there is any new consideration.
Comment #4
Snater CreditAttribution: Snater commentedClosing per my previous comment. If, at some point, TinyMCE is considerably supported in D8, this ticket may be reopened.