mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Make intialization of Ace2Inner analogous to other page controllers.
This commit is contained in:
parent
9f5946c942
commit
622819ba93
2 changed files with 53 additions and 47 deletions
|
@ -246,7 +246,11 @@ hooks.plugins = plugins;\n\
|
|||
plugins.adoptPluginsFromAncestorsOf(window);\n\
|
||||
\n\
|
||||
$ = jQuery = require("ep_etherpad-lite/static/js/rjquery").jQuery; // Expose jQuery #HACK\n\
|
||||
require("ep_etherpad-lite/static/js/ace2_inner");\n\
|
||||
var Ace2Inner = require("ep_etherpad-lite/static/js/ace2_inner");\n\
|
||||
\n\
|
||||
plugins.ensure(function () {\n\
|
||||
Ace2Inner.init();\n\
|
||||
});\n\
|
||||
'));
|
||||
|
||||
iframeHTML.push('<style type="text/css" title="dynamicsyntax"></style>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue