From 651bcf2380feef12a596daed68654d00a56b76ab Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 13 Oct 2008 19:51:53 +0000 Subject: [PATCH] Adds rich text support to notes - Still a few issues - Converts plaintext notes to HTML on upgrade --- chrome/content/zotero/addCitationDialog.xul | 2 +- chrome/content/zotero/bindings/noteeditor.xml | 10 +- .../zotero/bindings/styled-textbox.xml | 142 +++++++++++++++--- .../content/zotero/editBibliographyDialog.xul | 2 +- .../content/zotero/tiny_mce/integration.html | 25 ++- chrome/content/zotero/tiny_mce/note.html | 63 +++++++- chrome/content/zotero/xpcom/data/item.js | 17 ++- chrome/content/zotero/xpcom/data/notes.js | 3 + chrome/content/zotero/xpcom/db.js | 14 ++ chrome/content/zotero/xpcom/report.js | 19 ++- chrome/content/zotero/xpcom/schema.js | 5 + chrome/skin/default/zotero/report/detail.css | 8 +- .../integration-content.css} | 2 +- .../default/zotero/tinymce/note-content.css | 14 ++ userdata.sql | 2 +- 15 files changed, 282 insertions(+), 46 deletions(-) rename chrome/skin/default/zotero/{tinymce-content.css => tinymce/integration-content.css} (75%) create mode 100644 chrome/skin/default/zotero/tinymce/note-content.css diff --git a/chrome/content/zotero/addCitationDialog.xul b/chrome/content/zotero/addCitationDialog.xul index 3dc99d1c7..29c57025f 100644 --- a/chrome/content/zotero/addCitationDialog.xul +++ b/chrome/content/zotero/addCitationDialog.xul @@ -192,7 +192,7 @@ -