-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TinyMCE 5 compatibility issue #376
Comments
instead of tinyMCE.activeEditor.windowManager.open, you can use |
I checked to open the rich file browser through the openUrl function. How can I get the return value if I select the image? I'd appreciate it if you could help me. |
When your are initializing tinemce set this variables like this: |
When Tinymce was initialized, I gave the parameters and opened rich file manager. but, when i select an image and press the SELECT button, there is no response. I can't get the image to text editor. Do you know what to do? |
I found the following code in filemanager.js. When executing the openurl function, I confirmed that the parameter "field_name" should be sent. The problem is that the "field_name" of the source input is variable, so I don't know how to send it. Do you have any ideas?
|
In raising this issue, I confirm the following (please check boxes):
I use the following server-side connector (check one):
My familiarity with the project is as follows (check one):
Hi.
TinyMCE is going to v5 and it breaks many things with previous version.
First of all is remove of
file_browser_callback
that is replaced withfile_picker_callback
. It works a little bit different by using callback function that inserts url along with optional attributes. My suggestion is to add new parameter that would recognize that it's v5 similar to current field_name that would get this callback function and do some magic with it. ;)Second issue is making
tinyMCE.activeEditor.windowManager.open
much more restricted. I don't know if it's still possible to use TinyMCE directly to show file manager. Of course there is an option to use window.open but that would mean getting back a few years when there was no popup on layer...Or implementing own solution.The text was updated successfully, but these errors were encountered: