diff --git a/app/editor/menus/block.tsx b/app/editor/menus/block.tsx index d9404e6ba..0c2b07b46 100644 --- a/app/editor/menus/block.tsx +++ b/app/editor/menus/block.tsx @@ -20,6 +20,7 @@ import { CalendarIcon, MathIcon, DoneIcon, + BookmarkedIcon, } from "outline-icons"; import * as React from "react"; import styled from "styled-components"; @@ -196,6 +197,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 5d359bc0b..3d9cd5aff 100644 --- a/app/hooks/useDictionary.ts +++ b/app/hooks/useDictionary.ts @@ -78,6 +78,8 @@ export default function useDictionary() { warningNotice: t("Warning notice"), success: t("Success"), successNotice: t("Success 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 fac830c75..b4399e34b 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -545,11 +545,6 @@ class DocumentScene extends React.Component { - {isShare && - !parseDomain(window.location.origin).custom && - !auth.user && ( - - )} {!isShare && (