Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

integrate an external Filemanager to TinyMCE v5.#404

Open
SimJH wants to merge 5 commits intopsolom:master from
SimJH:master
Open

integrate an external Filemanager to TinyMCE v5. #404
SimJH wants to merge 5 commits intopsolom:master from
SimJH:master

Conversation

@SimJH
Copy link

@SimJH SimJH commented Jun 15, 2021

I modified Rich File Manager, it can be used in TinyMCE 5 version.

I'd like you to add the code below to the wiki.

Thank you~!


tinymce.init({
 file_picker_callback: function(callback, value, meta) {
 tinyMCE.activeEditor.windowManager.openUrl({
 url: "",
 title: "File Manager",
 width: window.innerWidth,
 height: window.innerHeight,
 onMessage: function(api, message) {
 callback(message.content, { alt: "File From Rich File Manager" });
 }
 });
 }
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /