Skip to content
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

feat: enable file uploads on links and media #115

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

brendoLoR
Copy link
Contributor

this PR enable the "upload" button on "links" and "media"

According to TinyMCE documentation for enable this functionality you must declare "file_picker_callback" function on tinyEditor initialization.

more info:
https://www.tiny.cloud/docs/tinymce/6/image/#file_picker_callback

image

this commit enable the "upload" button on "links" and "media"

According  to TinyMCE documentation for enable this functionality you must declare "file_picker_callback" function on tinyEditor initialization.
@mohamedsabil83
Copy link
Owner

Could you let me know if you checked it carefully on your side? This package adopts v5 of the TinyEditor, and you mentioned a link for v6, but I believe it's the same in both.
I'll test it either at this weekend and merge it.
By the way, v3 of this package will support both v5 & v6 of TinyEditor, and dev can control which version from the configuration. I am busy during these periods, but I'll try to get time soon.

@brendoLoR
Copy link
Contributor Author

brendoLoR commented Dec 12, 2023

My apologies for the wrong reference. But it's the same rule on both versions.

We use your package on many websites, and everytime the user needs to upload a file on a link we implement a CustomTinyEditor with the same code in this PR

@mohamedsabil83 mohamedsabil83 merged commit a733823 into mohamedsabil83:2.x Dec 13, 2023
17 checks passed
@mohamedsabil83
Copy link
Owner

Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants