A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
editor: remove unnecessary comments
Abdullah Atta8bc072a54395
diff --git a/packages/editor/src/extensions/task-list/component.tsx b/packages/editor/src/extensions/task-list/component.tsxindex 272e693da..8483079ff 100644--- a/packages/editor/src/extensions/task-list/component.tsx+++ b/packages/editor/src/extensions/task-list/component.tsx@@ -236,18 +236,11 @@ export function TaskListComponent(if (readonly) e.preventDefault();}}sx={{- // NOTE: the class is part of the selector to win over- // `.ProseMirror ul ul` (styles.css), which is more specific than- // a plain `ul` and squashed a nested list against the item it- // belongs to"ul.tasklist-content-wrapper": {display: "block",paddingInlineStart: 0,marginBlockStart: isNested ? 10 : 0,marginBlockEnd: 0,- // NOTE: inline-start, not left: the indent has to be on the- // side the text flows from, so it stays on the right in RTL- // instead of showing up on the wrong sidemarginInlineStart: isNested ? (editor.isEditable ? -35 : -10) : 0,padding: 0},diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.cssindex 13af9e32b..3dd6ea3ff 100644--- a/packages/editor/styles/styles.css+++ b/packages/editor/styles/styles.css@@ -1045,8 +1045,6 @@ del.diffdel {border-radius: 5px;background-color: var(--background-secondary);border: 1px dashed var(--border);- /* the gap opens up rather than popping into place, and follows the level- it will drop at */transition: height 120ms ease-out, margin-inline-start 120ms ease-out;}@@ -1064,8 +1062,6 @@ del.diffdel {border-radius: 5px;background-color: var(--background);box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);- /* it follows the level it will drop at; the pointer is followed with a- transform, which this must not touch */transition: left 120ms ease-out, width 120ms ease-out;}