From ba468fedd61f36c842531129977590d86a763c20 Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Sat, 27 Mar 2010 16:23:39 +0100 Subject: Added the aceInitInnerdocbodyHead hook --- infrastructure/ace/www/ace2_outer.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'infrastructure') 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+"'"]; + + 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")); -- cgit v1.2.3