User tests: Successful: Unsuccessful:
To test it install OneDrive extension and enable editor buttons plugins.
Go to article edit view and hit OneDrive button. Check you browser console to see the error.
https://www.perfect-web.co/joomla-extensions/microsoft-onedrive-gallery-file
When button plugin has onclick property with JavaScript code it is being added after
editor.windowManager.open({...});
So there can not be a coma (,) between above code and onclick code define in plugin.
Below is code rendered by TinyMCE plugin which contains a coma (line before SkyDriveButton...) which leads to JavaScript error
editor.addButton("OneDriveFile", {
text: "OneDrive File",
title: "OneDrive File",
icon: "none icon-flag-2",
onclick: function () {
editor.windowManager.open({
title : "OneDrive File",
url : 'http://localhost/administrator/index.php',
buttons: [{ text : "Close", onclick: "close" }]
});,
SkyDriveButton.browseFile('tinymce');
return false;
}
});
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Yes that is the same fix.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-11-30 10:46:02 |
Closed_By | ⇒ | piotrmocko |
please check if that #8420 fixed your problem