Merge branch 'master' into fix-IOS-bottom-fixed-position

This commit is contained in:
Charlie
2020-11-04 19:50:29 +08:00
committed by GitHub
67 changed files with 2372 additions and 2720 deletions

View File

@@ -3,20 +3,16 @@
[frontend.components.svg :as svg]
[frontend.config :as config]
[frontend.handler.editor :as editor-handler :refer [get-state]]
[frontend.handler.image :as image-handler]
[frontend.util :as util :refer-macros [profile]]
[frontend.handler.file :as file]
[frontend.handler.page :as page-handler]
[frontend.components.datetime :as datetime-comp]
[promesa.core :as p]
[frontend.date :as date]
[frontend.state :as state]
[frontend.mixins :as mixins]
[frontend.image :as image]
[frontend.ui :as ui]
[frontend.db :as db]
[frontend.config :as config]
[frontend.utf8 :as utf8]
[dommy.core :as d]
[goog.object :as gobj]
[goog.dom :as gdom]
@@ -29,12 +25,8 @@
*angle-bracket-caret-pos
*matched-block-commands
*show-block-commands]]
[frontend.format.block :as block]
[medley.core :as medley]
[cljs-time.core :as t]
[cljs-time.coerce :as tc]
[cljs-drag-n-drop.core :as dnd]
[frontend.search :as search]
[frontend.text :as text]
["/frontend/utils" :as utils]))
@@ -640,7 +632,8 @@
(not (editor-handler/in-auto-complete? (gdom/getElement id)))))
(state/clear-edit!))))))
:node (gdom/getElement id)
:visibilitychange? true))
;; :visibilitychange? true
))
100)
(when-let [element (gdom/getElement id)]