how do i integrate IMCE module ?

Comments

RobertoGuzman created an issue. See original summary.

Snater’s picture

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.

Snater’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev

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.

Snater’s picture

Status: Active » Closed (won't fix)

Closing per my previous comment. If, at some point, TinyMCE is considerably supported in D8, this ticket may be reopened.