enhance: notice when scheduled or deadline and there's no content

This commit is contained in:
Tienson Qin
2021-03-24 23:36:54 +08:00
parent 12a3ef6fa8
commit aef9b61839
2 changed files with 17 additions and 4 deletions

View File

@@ -392,6 +392,11 @@
[]
(ffirst (:editor/editing? @state)))
(defn get-input
[]
(when-let [id (get-edit-input-id)]
(gdom/getElement id)))
(defn get-last-edit-input-id
[]
(:editor/last-edit-block-id @state))