diff options
author | Egil Moeller <egil.moller@freecode.no> | 2010-03-27 16:23:39 +0100 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2010-03-27 16:23:39 +0100 |
commit | ba468fedd61f36c842531129977590d86a763c20 (patch) | |
tree | 9de7ff719da5925ea385b86590a9262c5f0f9c5a /infrastructure/ace/www | |
parent | 027acf76860332811603bd8130c552d1d3ac0b19 (diff) | |
download | etherpad-ba468fedd61f36c842531129977590d86a763c20.tar.gz etherpad-ba468fedd61f36c842531129977590d86a763c20.tar.xz etherpad-ba468fedd61f36c842531129977590d86a763c20.zip |
Added the aceInitInnerdocbodyHead hook
Diffstat (limited to 'infrastructure/ace/www')
-rw-r--r-- | infrastructure/ace/www/ace2_outer.js | 8 |
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")); |