commit c7c0c4c5dcbb89a3d2c11b28842d5ae7b26afb74
parent 65d0be2db63252e50685a038ba963834d1d29340
Author: Simon Kornblith <simon@simonster.com>
Date: Sun, 31 Mar 2013 20:25:13 -0400
Fix classic view editor
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/tinymce/integration.html b/chrome/content/zotero/tinymce/integration.html
@@ -1,4 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
@@ -38,7 +39,13 @@ html, body {
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
- theme_advanced_resizing : true
+ theme_advanced_resizing : true,
+
+ setup : function (ed) {
+ ed.onInit.add(function (ed) {
+ zoteroInit(ed);
+ });
+ }
});
tinyMCE.execCommand("mceAddControl", true, "tinymce");
</script>