mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
ace: Pass objects to Ace2Inner via function args
This commit is contained in:
parent
6fe0154129
commit
e57829183d
2 changed files with 7 additions and 10 deletions
|
@ -209,7 +209,7 @@ const Ace2Editor = function () {
|
|||
|
||||
window.$ = window.jQuery = require('ep_etherpad-lite/static/js/rjquery').jQuery;
|
||||
|
||||
window.plugins.ensure(() => { window.Ace2Inner.init(); });
|
||||
window.plugins.ensure(() => { window.Ace2Inner.init(parent.editorInfo, parent.readyFunc); });
|
||||
})();`));
|
||||
|
||||
iframeHTML.push('<style type="text/css" title="dynamicsyntax"></style>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue