ace: Pass objects to Ace2Inner via function args

This commit is contained in:
Richard Hansen 2021-02-27 21:02:43 -05:00 committed by John McLear
parent 6fe0154129
commit e57829183d
2 changed files with 7 additions and 10 deletions

View file

@ -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>');