chore(prettier): fix all files

This commit is contained in:
Elian Doran
2025-01-09 18:07:02 +02:00
parent 19ee861699
commit 4cbb529fd4
571 changed files with 23226 additions and 23940 deletions

View File

@@ -24,7 +24,7 @@ export default class FindInHtml {
const wholeWordChar = wholeWord ? "\\b" : "";
const regExp = new RegExp(wholeWordChar + utils.escapeRegExp(searchTerm) + wholeWordChar, matchCase ? "g" : "gi");
return new Promise(res => {
return new Promise((res) => {
$content.unmark({
done: () => {
$content.markRegExp(regExp, {
@@ -82,7 +82,7 @@ export default class FindInHtml {
const $content = await this.parent.noteContext.getContentElement();
const $contentWiget = appContext.getComponentByEl($content);
$contentWiget.triggerCommand("scrollContainerTo", {position});
$contentWiget.triggerCommand("scrollContainerTo", { position });
}
}
}