update: lint
This commit is contained in:
parent
5be1eef76a
commit
01490ba8ff
|
|
@ -35,7 +35,7 @@ body:
|
|||
value: |
|
||||
- OS:
|
||||
- Zotero Version:
|
||||
- Plugin Version:
|
||||
- Plugin Version:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ body:
|
|||
value: |
|
||||
- OS:
|
||||
- Zotero Version:
|
||||
- Plugin Version:
|
||||
- Plugin Version:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ body:
|
|||
attributes:
|
||||
label: Anything else?
|
||||
description: |
|
||||
Links? References? Anything that will give us more context about the issue you are encountering!
|
||||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
|
||||
Links? References? Anything that will give us more context about the issue you are encountering!
|
||||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
|
||||
validations:
|
||||
required: false
|
||||
|
|
|
|||
|
|
@ -205,17 +205,11 @@
|
|||
</div>
|
||||
<div
|
||||
class="diff-viewport viewport"
|
||||
style="
|
||||
width: calc(30% - 10px);
|
||||
padding: 10px 30px 10px 30px;
|
||||
"
|
||||
style="width: calc(30% - 10px); padding: 10px 30px 10px 30px"
|
||||
></div>
|
||||
<div
|
||||
class="render-viewport viewport primary-editor ProseMirror"
|
||||
style="
|
||||
width: calc(50% - 10px);
|
||||
padding: 10px 30px 10px 30px;
|
||||
"
|
||||
style="width: calc(50% - 10px); padding: 10px 30px 10px 30px"
|
||||
></div>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@
|
|||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
||||
:not(.dx-state-focused) > .dx-treeview-item.dx-state-hover {
|
||||
background-color: #494949;
|
||||
color: #fff;
|
||||
|
|
|
|||
|
|
@ -25,9 +25,7 @@ import {
|
|||
} from "./modules/workspace/content";
|
||||
import { registerNotify } from "./modules/notify";
|
||||
import { showWorkspaceWindow } from "./modules/workspace/window";
|
||||
import {
|
||||
registerReaderAnnotationButton,
|
||||
} from "./modules/reader";
|
||||
import { registerReaderAnnotationButton } from "./modules/reader";
|
||||
import { setSyncing, callSyncing } from "./modules/sync/hooks";
|
||||
import {
|
||||
showTemplatePicker,
|
||||
|
|
|
|||
|
|
@ -133,7 +133,11 @@ export async function showSyncDiff(noteId: number, mdPath: string) {
|
|||
autoSyncDelay: Zotero.Notes.AUTO_SYNC_DELAY,
|
||||
},
|
||||
});
|
||||
await addon.api.$export.syncMDBatch(mdStatus.filedir, [noteItem.id], [mdStatus.meta]);
|
||||
await addon.api.$export.syncMDBatch(
|
||||
mdStatus.filedir,
|
||||
[noteItem.id],
|
||||
[mdStatus.meta],
|
||||
);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,11 @@ function showTemplatePicker(
|
|||
): void;
|
||||
function showTemplatePicker(
|
||||
mode: "create",
|
||||
data?: { noteType?: "standalone" | "item"; parentItemId?: number, topItemIds?: number[] },
|
||||
data?: {
|
||||
noteType?: "standalone" | "item";
|
||||
parentItemId?: number;
|
||||
topItemIds?: number[];
|
||||
},
|
||||
): void;
|
||||
function showTemplatePicker(mode: "export", data?: Record<string, never>): void;
|
||||
function showTemplatePicker(): void;
|
||||
|
|
|
|||
Loading…
Reference in New Issue