From 7a653b822d02605727a0898749ee69da6b1a63cc Mon Sep 17 00:00:00 2001 From: Limezy Date: Tue, 28 Feb 2023 09:01:19 +0700 Subject: [PATCH] Create diff.txt --- sources/patches/diff.txt | 423 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 423 insertions(+) create mode 100644 sources/patches/diff.txt diff --git a/sources/patches/diff.txt b/sources/patches/diff.txt new file mode 100644 index 0000000..b1b4f94 --- /dev/null +++ b/sources/patches/diff.txt @@ -0,0 +1,423 @@ +diff --git a/app/components/Icons/OutlineIcon.tsx b/app/components/Icons/OutlineIcon.tsx +index 05fa32927..33fc7ee21 100644 +--- a/app/components/Icons/OutlineIcon.tsx ++++ b/app/components/Icons/OutlineIcon.tsx +@@ -22,7 +22,10 @@ export default function OutlineIcon({ + viewBox={cover ? "2 2 20 20" : "0 0 24 24"} + version="1.1" + > +- ++ + + ); + } +diff --git a/app/editor/menus/block.tsx b/app/editor/menus/block.tsx +index 42269b5e4..174c84c02 100644 +--- a/app/editor/menus/block.tsx ++++ b/app/editor/menus/block.tsx +@@ -19,6 +19,7 @@ import { + ClockIcon, + CalendarIcon, + MathIcon, ++ BookmarkedIcon, + } from "outline-icons"; + import * as React from "react"; + import styled from "styled-components"; +@@ -187,6 +188,13 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] { + keywords: "notice card suggestion", + attrs: { style: "tip" }, + }, ++ { ++ name: "container_notice", ++ title: dictionary.bibleNotice, ++ icon: , ++ keywords: "notice card bible", ++ attrs: { style: "bible" }, ++ }, + { + name: "separator", + }, +diff --git a/app/hooks/useDictionary.ts b/app/hooks/useDictionary.ts +index 088d40e71..42cdcdb33 100644 +--- a/app/hooks/useDictionary.ts ++++ b/app/hooks/useDictionary.ts +@@ -76,6 +76,8 @@ export default function useDictionary() { + showSource: t("Show source"), + warning: t("Warning"), + warningNotice: t("Warning notice"), ++ bible: t("Bible"), ++ bibleNotice: t("Bible quote"), + insertDate: t("Current date"), + insertTime: t("Current time"), + insertDateTime: t("Current date and time"), +diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx +index 3d55a359e..50510b816 100644 +--- a/app/scenes/Document/components/Document.tsx ++++ b/app/scenes/Document/components/Document.tsx +@@ -632,11 +632,6 @@ class DocumentScene extends React.Component { + + + +- {isShare && +- !parseDomain(window.location.origin).custom && +- !auth.user && ( +- +- )} + + {!isShare && ( +