fix: LaTex font load bug

fix: template help bug
fix: LaTex style bug
This commit is contained in:
xiangyu 2022-05-30 11:51:41 +08:00
parent 275a0a34ad
commit 06c1883e39
4 changed files with 24 additions and 5 deletions

View File

@ -10,8 +10,8 @@ https://user-images.githubusercontent.com/33902321/167992626-34adfd97-c2df-48b0-
## Features
- `LaTex` view supported(v0.4.0). Click the `Tex` button in the toolbar or `Ctrl/⌘+'/'` to switch between editor view & LaTex view!
<img src="./image/README/LaTex.gif" width="400px"></img>
- `LaTex` view supported(v0.4.0). Click the `Tex` button in the toolbar or `Ctrl/⌘+'/'` to switch between editor view & LaTex view!
<img src="./image/README/LaTex.gif" width="400px"></img>
- Archive notes/annotations in one place with just a click;
- Foward-link to sub-notes and back-link to PDF attachments;
- Export archived notes in MarkDown/rich-text format.

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@
<key id="key_close" key="W" modifiers="accel" command="cmd_close" />
</keyset>
<command id="cmd_save" oncommand="Zotero.Knowledge4Zotero.template.saveSelectedTemplate();" />
<command id="cmd_help" oncommand="Zotero.launchURL('https://github.com/windingwind/zotero-better-notes/Templates.md');" />
<command id="cmd_help" oncommand="Zotero.launchURL('https://github.com/windingwind/zotero-better-notes/blob/master/Template.md');" />
<command id="cmd_close" oncommand="window.close();" />
<hbox flex="1">

View File

@ -191,7 +191,7 @@ class AddonViews extends AddonBase {
viewNode.setAttribute("id", "texView");
viewNode.style.height = "100%";
viewNode.style.padding = "20px 30px 20px 30px";
viewNode.style.overflowY = "scroll";
viewNode.style.overflowY = "auto";
viewNode.removeAttribute("contentEditable");
editorCore.after(viewNode);
editorCore.style.visibility = "hidden";