aboutsummaryrefslogtreecommitdiffstats
path: root/infrastructure/ace/www
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--infrastructure/ace/www/ace2_outer.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/infrastructure/ace/www/ace2_outer.js b/infrastructure/ace/www/ace2_outer.js
index b0fc20c..e6d430d 100644
--- a/infrastructure/ace/www/ace2_outer.js
+++ b/infrastructure/ace/www/ace2_outer.js
@@ -14,6 +14,10 @@
* limitations under the License.
*/
+// requires: top
+// requires: plugins
+// requires: undefined
+
Ace2Editor.registry = { nextId: 1 };
@@ -163,6 +167,10 @@ function Ace2Editor() {
'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
var iframeHTML = ["'"+doctype+"<html><head>'"];
+
+ top.plugins.callHook(
+ "aceInitInnerdocbodyHead", {iframeHTML:iframeHTML});
+
// these lines must conform to a specific format because they are passed by the build script:
iframeHTML.push($$INCLUDE_CSS_Q("editor.css syntax.css inner.css"));
//iframeHTML.push(INCLUDE_JS_Q_DEV("ace2_common_dev.js"));