Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: urls are not editable

thecodrr0ac90e56548a
diff --git a/apps/web/src/components/editor/footer.js b/apps/web/src/components/editor/footer.js
index 3898ea2eb..c8e10f261 100644
--- a/apps/web/src/components/editor/footer.js
+++ b/apps/web/src/components/editor/footer.js
@@ -1,5 +1,4 @@
import React from "react";
-import "./editor.css";
import { Flex, Text } from "rebass";
import { useStore } from "../../stores/editor-store";
import { timeConverter } from "../../utils/time";
diff --git a/apps/web/src/components/editor/header.js b/apps/web/src/components/editor/header.js
index 6e5c1ccfc..ce600f5be 100644
--- a/apps/web/src/components/editor/header.js
+++ b/apps/web/src/components/editor/header.js
@@ -1,5 +1,4 @@
import React from "react";
-import "./editor.css";
import { Flex } from "rebass";
import TitleBox from "./title-box";
import { useStore, SESSION_STATES } from "../../stores/editor-store";
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index a99d5b796..9ae37f0fa 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -1,5 +1,4 @@
import React, { useEffect, useMemo, useRef } from "react";
-import "./editor.css";
import ReactQuill from "./react-quill";
import { Box, Flex } from "rebass";
import Properties from "../properties";
diff --git a/apps/web/src/components/editor/react-quill.js b/apps/web/src/components/editor/react-quill.js
index 55d88122b..7b62b2d78 100644
--- a/apps/web/src/components/editor/react-quill.js
+++ b/apps/web/src/components/editor/react-quill.js
@@ -11,6 +11,7 @@ import { Text } from "rebass";
import QuillFocus from "./modules/focus";
import { isMobile } from "../../utils/dimensions";
import { showBuyDialog } from "../dialogs/buy-dialog";
+import "./editor.css";
Quill.register("modules/markdownShortcuts", MarkdownShortcuts);
Quill.register("modules/magicUrl", MagicUrl);
@@ -193,9 +194,6 @@ export default class ReactQuill extends Component {
mx={[2, 2, 0]}
as="pre"
sx={{ cursor: "text" }}
- onClick={() => {
- this.quill.focus();
- }}
onFocus={this.props.onFocus}
id={this.props.id}
/>
diff --git a/apps/web/src/components/editor/titlebox.js b/apps/web/src/components/editor/titlebox.js
index 88c932633..36c544da7 100644
--- a/apps/web/src/components/editor/titlebox.js
+++ b/apps/web/src/components/editor/titlebox.js
@@ -1,5 +1,4 @@
import React, { useCallback, useEffect, useRef, useState } from "react";
-import "./editor.css";
import { Text, Flex } from "rebass";
import { Input } from "@rebass/forms";
diff --git a/apps/web/src/components/editor/toolbar.js b/apps/web/src/components/editor/toolbar.js
index 9ce526f6a..16c2f5089 100644
--- a/apps/web/src/components/editor/toolbar.js
+++ b/apps/web/src/components/editor/toolbar.js
@@ -1,5 +1,4 @@
import React, { useEffect, useMemo, useState } from "react";
-import "./editor.css";
import { Button, Flex, Text } from "rebass";
import * as Icon from "../icons";
import { useStore as useAppStore } from "../../stores/app-store";
diff --git a/apps/web/yarn.lock b/apps/web/yarn.lock
index e0f08cf54..d204cfb94 100644
--- a/apps/web/yarn.lock
+++ b/apps/web/yarn.lock
@@ -8963,8 +8963,8 @@ normalize-url@^3.0.0, normalize-url@^3.0.1:
integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==
"notes-core@git+ssh://[email protected]:streetwriters/notesnook-core.git":
- version "2.5.1"
- resolved "git+ssh://[email protected]:streetwriters/notesnook-core.git#900bf7e40d63e5a41d17fb8af1e83e6f6bc3033a"
+ version "2.6.1"
+ resolved "git+ssh://[email protected]:streetwriters/notesnook-core.git#a4d7c41bfefb3395183e3a1191ab453f3ac5de05"
dependencies:
fast-sort "^2.0.1"
fuzzysearch "^1.0.3"