mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 17:06:23 +00:00
fix: disable hiccup export for heading/footer/etc when paste
Also, removes ending `-` when converting html to text
This commit is contained in:
@@ -248,7 +248,7 @@
|
||||
(cond
|
||||
(and (string/blank? text) (string/blank? html))
|
||||
;; When both text and html are blank, paste file if exists.
|
||||
;; NOTE: util/stop is not called here if no file is provided,
|
||||
;; NOTE: util/stop is not called here if no file is provided,
|
||||
;; so the default paste behavior of the native platform will be used.
|
||||
(when has-files?
|
||||
(paste-file-if-exists id e))
|
||||
|
||||
Reference in New Issue
Block a user