chore: add titles to heading buttons

pull/6911/head
Konstantinos Kaloutas 2022-10-14 12:14:18 +03:00 committed by Tienson Qin
parent 46af6b3b15
commit 207c9575a5
2 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,7 @@
(ui/button
""
:icon (str "h-" i)
:title (t :heading i)
:class "to-heading-button"
:on-click (fn [_e]
(editor-handler/set-heading! block-id format i))

View File

@ -338,6 +338,7 @@
:dark "Dark"
:remove-background "Remove background"
:remove-heading "Remove heading"
:heading "Heading {1}"
:auto-heading "Auto heading"
:open "Open"
:open-a-directory "Open a local directory"