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 3d954b274..d7a9b9539 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 7f39fd903..ede1728d1 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -546,11 +546,6 @@ class DocumentScene extends React.Component { - {isShare && - !parseDomain(window.location.origin).custom && - !auth.user && ( - - )} {!isShare && (