1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Update app-04-bible.patch

This commit is contained in:
Limezy 2023-01-29 15:10:31 +07:00
parent 3304f85786
commit 0bb07bfbef

View file

@ -1,31 +1,29 @@
diff --cc app/editor/menus/block.tsx diff --git a/app/editor/menus/block.tsx b/app/editor/menus/block.tsx
index 42269b5e4,cd6830b12..000000000 index 42269b5e4..c40350908 100644
--- a/app/editor/menus/block.tsx --- a/app/editor/menus/block.tsx
+++ b/app/editor/menus/block.tsx +++ b/app/editor/menus/block.tsx
@@@ -18,7 -18,7 +18,8 @@@ import @@ -19,6 +19,7 @@ import {
AttachmentIcon, ClockIcon,
ClockIcon, CalendarIcon,
CalendarIcon, MathIcon,
+ MathIcon, + BookmarkedIcon,
+ BookmarkedIcon, } from "outline-icons";
} from "outline-icons"; import * as React from "react";
import * as React from "react"; import styled from "styled-components";
import styled from "styled-components"; @@ -187,6 +188,13 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] {
@@@ -187,6 -181,13 +188,13 @@@ export default function blockMenuItems( keywords: "notice card suggestion",
keywords: "notice card suggestion", attrs: { style: "tip" },
attrs: { style: "tip" }, },
}, + {
+ { + name: "container_notice",
+ name: "container_notice", + title: dictionary.bibleNotice,
+ title: dictionary.bibleNotice, + icon: <BookmarkedIcon />,
- icon: BookmarkedIcon, + keywords: "notice card suggestion",
++ icon: <BookmarkedIcon />, + attrs: { style: "bible" },
+ keywords: "notice card suggestion", + },
+ attrs: { style: "bible" }, {
+ }, name: "separator",
{ },
name: "separator",
},
diff --git a/app/hooks/useDictionary.ts b/app/hooks/useDictionary.ts diff --git a/app/hooks/useDictionary.ts b/app/hooks/useDictionary.ts
index 5b9196de5..90caf27d7 100644 index 5b9196de5..90caf27d7 100644
--- a/app/hooks/useDictionary.ts --- a/app/hooks/useDictionary.ts