
- New flat theme (with padding tightened a bit from the default to fit in right-hand pane) - Adds search/replace within notes - Adds URL autolinking - Image pasting/dragging is now properly disallowed (though TinyMCE 4 has hooks that may allow us to actually support this by automatically creating attachments) - New blockquote style with color bar - Replaces custom context menu on link click with built-in version To-do: - Fix display of pop-ups, which are now modal dialogs within the note frame instead of pop-up windows, to stay fully within the frame - Localize (more important now that there are tooltips) - Support image dragging - Update elements list for HTML5, for better drag-and-drop? - Move directionality control to context menu instead of taking up toolbar space? - Evaluate other plugins for potential inclusion - Show additional controls in separate note window? - Fix opacity of text in tooltips Closes #451, closes #421
45 lines
993 B
HTML
45 lines
993 B
HTML
<!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>
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
#tinymce_parent {
|
|
display: block;
|
|
height: 100%;
|
|
min-height: 130px;
|
|
}
|
|
|
|
#noScriptWarning {
|
|
padding: 10px 8px 4px;
|
|
font-family: sans-serif;
|
|
font-size: 12px;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript" src="tinymce.js"></script>
|
|
<script type="text/javascript">
|
|
tinyMCE.init({
|
|
content_css: "css/integration-content.css",
|
|
|
|
toolbar: "bold italic underline | sub sup | removeformat",
|
|
toolbar_items_size: 'small',
|
|
menubar: false,
|
|
resize: false,
|
|
statusbar: false,
|
|
|
|
init_instance_callback: function (ed) {
|
|
zoteroInit(ed);
|
|
}
|
|
});
|
|
tinyMCE.execCommand("mceAddEditor", true, "tinymce");
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="tinymce"></div>
|
|
</body>
|
|
</html>
|