فهرست منبع

fix: do not triml while saving block

Andelf 4 سال پیش
والد
کامیت
1f779774ff
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      src/main/frontend/handler/editor.cljs

+ 0 - 1
src/main/frontend/handler/editor.cljs

@@ -354,7 +354,6 @@
         content (if (and (seq properties) real-content (not= real-content content))
         content (if (and (seq properties) real-content (not= real-content content))
                   (property/with-built-in-properties properties content format)
                   (property/with-built-in-properties properties content format)
                   content)
                   content)
-        content (text/remove-lines-level-spaces content format)
         content (drawer/with-logbook block content)
         content (drawer/with-logbook block content)
         content (with-timetracking block content)
         content (with-timetracking block content)
         first-block? (= left page)
         first-block? (= left page)