fix: lint
This commit is contained in:
parent
eaa28efbab
commit
1ac64c0618
|
|
@ -1,3 +1,3 @@
|
|||
bn-context {
|
||||
min-width: 360px;
|
||||
}
|
||||
min-width: 360px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
bn-details pane-header {
|
||||
display: none;
|
||||
}
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ bn-outline .zotero-tb-button {
|
|||
-moz-context-properties: fill, fill-opacity;
|
||||
}
|
||||
|
||||
bn-outline .zotero-tb-button[type=menu] {
|
||||
width: 40px;
|
||||
bn-outline .zotero-tb-button[type="menu"] {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
#__addonRef__-setOutline {
|
||||
|
|
|
|||
|
|
@ -80,8 +80,7 @@ export class NoteRelatedBox extends RelatedBox {
|
|||
|
||||
if (
|
||||
this.editable &&
|
||||
(!relatedItem.isNote() ||
|
||||
!getPref("related.takeover"))
|
||||
(!relatedItem.isNote() || !getPref("related.takeover"))
|
||||
) {
|
||||
const remove = document.createXULElement("toolbarbutton");
|
||||
remove.addEventListener("command", () => this._handleRemove(id));
|
||||
|
|
|
|||
|
|
@ -22,7 +22,9 @@ export async function injectEditorCSS(win: Window) {
|
|||
tag: "style",
|
||||
id: "betternotes-style",
|
||||
properties: {
|
||||
innerHTML: await getFileContent(rootURI + "chrome/content/styles/editor.css"),
|
||||
innerHTML: await getFileContent(
|
||||
rootURI + "chrome/content/styles/editor.css",
|
||||
),
|
||||
},
|
||||
ignoreIfExists: true,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -90,9 +90,7 @@ export async function showSyncManager() {
|
|||
})
|
||||
.setProp("onActivate", (ev) => {
|
||||
const noteIds = getSelectedNoteIds();
|
||||
noteIds.forEach((noteId) =>
|
||||
addon.hooks.onOpenNote(noteId, "builtin"),
|
||||
);
|
||||
noteIds.forEach((noteId) => addon.hooks.onOpenNote(noteId, "builtin"));
|
||||
return true;
|
||||
})
|
||||
.setProp(
|
||||
|
|
|
|||
|
|
@ -21,12 +21,7 @@ import YAML = require("yamljs");
|
|||
import { Root as HRoot, RootContent } from "hast";
|
||||
import { ListContent, Root as MRoot } from "mdast";
|
||||
import { Nodes } from "hast-util-to-text/lib";
|
||||
import {
|
||||
fileExists,
|
||||
formatPath,
|
||||
jointPath,
|
||||
randomString,
|
||||
} from "./str";
|
||||
import { fileExists, formatPath, jointPath, randomString } from "./str";
|
||||
import {
|
||||
copyEmbeddedImagesInHTML,
|
||||
importImageToNote,
|
||||
|
|
|
|||
Loading…
Reference in New Issue