0
Fixed

Integration with TinyMCE

Vaughn C 7 months ago updated 6 months ago 5

I have a need to add Filerun as a TinyMCE (file picker) plugin. I've checked the documentation and reviewed the tinymce.plugin.js however it appears to be outdated. i.e. editor.addMenuItem has been removed in tinymce 5x and requires editor.ui.registry.addMenuItem instead. I've manually changed this but plugin fails to load and expect other issues exist in other dependencies. 


Started

This will be fixed with the FileRun update that will be released in a day or two.

Fixed

A FileRun update that fixes this is now ready to be applied from the control panel of your installation.

https://docs.filerun.com/updating

Plugin is now initialising and file selection popup is triggered. However, clicking SELECT in the toolbar does not insert the weblink and file picker remains open. No js errors and nothing in php log but I'll see what I can find.

Also, is it possible to insert HTML into the button title? Specifically, I'd like to use a fontawesome icon using an element and class. Perhaps add "buttonIcon" option to filerun options object.

No change to behaviour. 

TinyMCE version 6.0.3 (2022-05-25)