Skip to content

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

Merge branch 'master' of https://github.com/streetwriters/notesnook-private

ammarahm-ed2d84b79f222a
diff --cc apps/mobile/app/screens/editor/tiptap/use-editor-events.ts
index e429f7845,7f5e5dd90..f2efd0057
--- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts
@@@ -1,7 -1,25 +1,25 @@@
+ /* This file is part of the Notesnook project (https://notesnook.com/)
+ *
+ * Copyright (C) 2022 Streetwriters (Private) Limited
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/* eslint-disable no-case-declarations */
/* eslint-disable @typescript-eslint/no-var-requires */
-import { getDefaultPresets } from "@streetwriters/editor/dist/toolbar/tool-definitions";
-import type { Attachment } from "@streetwriters/editor/dist/extensions/attachment/index";
+import { getDefaultPresets } from "@notesnook/editor/dist/toolbar/tool-definitions";
+import type { Attachment } from "@notesnook/editor/dist/extensions/attachment/index";
import { useCallback, useEffect, useRef } from "react";
import {
BackHandler,
diff --cc apps/mobile/app/services/event-manager.ts
index 48d7dcde2,1292c83db..1e7fa9a55
--- a/apps/mobile/app/services/event-manager.ts
+++ b/apps/mobile/app/services/event-manager.ts
@@@ -1,5 -1,23 +1,23 @@@
+ /* This file is part of the Notesnook project (https://notesnook.com/)
+ *
+ * Copyright (C) 2022 Streetwriters (Private) Limited
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
import Clipboard from "@react-native-clipboard/clipboard";
-import EventManager from "@notesnook/core/utils/eventmanager";
+import EventManager from "@notesnook/core/utils/event-manager";
import { RefObject } from "react";
import ActionSheet from "react-native-actions-sheet";
import { Config } from "react-native-config";
diff --cc apps/mobile/share/share.js
index 5c47c8701,bccd032ba..1fdf24402
--- a/apps/mobile/share/share.js
+++ b/apps/mobile/share/share.js
@@@ -1,5 -1,23 +1,23 @@@
+ /* This file is part of the Notesnook project (https://notesnook.com/)
+ *
+ * Copyright (C) 2022 Streetwriters (Private) Limited
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
import { getPreviewData } from "@flyerhq/react-native-link-preview";
-import { parseHTML } from "@notesnook/core/utils/htmlparser";
+import { parseHTML } from "@notesnook/core/utils/html-parser";
import React, { useEffect, useRef, useState } from "react";
import {
ActivityIndicator,