mirror of
https://github.com/outline/outline.git
synced 2026-11-29 16:40:27 +03:00
Add Heading 4 to block menu
This commit is contained in:
1 parent
0a2c066253
commit
b6e43e1990
5 files changed
+16
-5
No files matched your search
@@ -5,6 +5,7 @@ import {
|
||||
Heading1Icon,
|
||||
Heading2Icon,
|
||||
Heading3Icon,
|
||||
Heading4Icon,
|
||||
HorizontalRuleIcon,
|
||||
OrderedListIcon,
|
||||
PageBreakIcon,
|
||||
@@ -63,6 +64,14 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] {
|
||||
shortcut: "^ ⇧ 3",
|
||||
attrs: { level: 3 },
|
||||
},
|
||||
{
|
||||
name: "heading",
|
||||
title: dictionary.h4,
|
||||
keywords: "h4 heading4",
|
||||
icon: <Heading4Icon />,
|
||||
shortcut: "^ ⇧ 4",
|
||||
attrs: { level: 4 },
|
||||
},
|
||||
{
|
||||
name: "separator",
|
||||
},
|
||||
|
||||
@@ -43,6 +43,7 @@ export default function useDictionary() {
|
||||
h1: t("Big heading"),
|
||||
h2: t("Medium heading"),
|
||||
h3: t("Small heading"),
|
||||
h4: t("Extra small heading"),
|
||||
heading: t("Heading"),
|
||||
hr: t("Divider"),
|
||||
image: t("Image"),
|
||||
|
||||
+1
-1
@@ -159,7 +159,7 @@
|
||||
"node-fetch": "2.7.0",
|
||||
"nodemailer": "^6.9.14",
|
||||
"octokit": "^3.2.1",
|
||||
"outline-icons": "^3.6.0",
|
||||
"outline-icons": "^3.7.0",
|
||||
"oy-vey": "^0.12.1",
|
||||
"passport": "^0.7.0",
|
||||
"passport-google-oauth2": "^0.2.0",
|
||||
|
||||
@@ -416,6 +416,7 @@
|
||||
"Big heading": "Big heading",
|
||||
"Medium heading": "Medium heading",
|
||||
"Small heading": "Small heading",
|
||||
"Extra small heading": "Extra small heading",
|
||||
"Heading": "Heading",
|
||||
"Divider": "Divider",
|
||||
"Image": "Image",
|
||||
|
||||
@@ -11991,10 +11991,10 @@ os-tmpdir@~1.0.2:
|
||||
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
||||
integrity "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g=="
|
||||
|
||||
outline-icons@^3.6.0:
|
||||
version "3.6.0"
|
||||
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-3.6.0.tgz#eff299bfde165a18a57d3c2f278598984551b912"
|
||||
integrity sha512-eAqfxu1kGeqsTWKJrkXOvNlRq4PYVwK0qUs/L5vCMGU9Mkua1VUJvGYaCHeYA9LPXbjTPETiC38hAhsPwnKSyQ==
|
||||
outline-icons@^3.7.0:
|
||||
version "3.7.0"
|
||||
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-3.7.0.tgz#9fdc0d22dd936eb454845e86abd8a573b837125b"
|
||||
integrity sha512-wzIWveYBxG6gMAmNWG7hvf/9LRD/MMKdOpzgUJ7wRyXznuDW8BQK8sjydx6jyFcWMYkBKjNoN2BPITs2RYF4Hw==
|
||||
|
||||
oy-vey@^0.12.1:
|
||||
version "0.12.1"
|
||||
|
||||
Reference in new issue
Block a user