Browse Source

Revert "defer loading code-editor"

This reverts commit 4f067f4003949d79e4fb07c5791f98dfca60a6fe.
Konstantinos Kaloutas 2 years ago
parent
commit
b7710e570c

+ 1 - 0
deps/publishing/src/logseq/publishing/html.cljs

@@ -125,6 +125,7 @@ necessary db filtering"
             [:script {:src "static/js/interact.min.js"}]
             [:script {:src "static/js/highlight.min.js"}]
             [:script {:src "static/js/katex.min.js"}]
+            [:script {:src "static/js/code-editor.js"}]
             [:script {:src "static/js/custom.js"}]])))))
 
 (defn build-html

+ 1 - 0
public/index.html

@@ -55,5 +55,6 @@
 <script defer src="/static/js/amplify.js"></script>
 <script defer src="/static/js/tabler.min.js"></script>
 <script defer src="/static/js/tabler.ext.js"></script>
+<script defer src="/static/js/code-editor.js"></script>
 </body>
 </html>

+ 1 - 0
resources/electron.html

@@ -56,5 +56,6 @@ const portal = new MagicPortal(worker);
 <script defer src="./js/amplify.js"></script>
 <script defer src="./js/tabler.min.js"></script>
 <script defer src="./js/tabler.ext.js"></script>
+<script defer src="./js/code-editor.js"></script>
 </body>
 </html>

+ 1 - 0
resources/index.html

@@ -55,5 +55,6 @@ const portal = new MagicPortal(worker);
 <script defer src="./js/amplify.js"></script>
 <script defer src="./js/tabler.min.js"></script>
 <script defer src="./js/tabler.ext.js"></script>
+<script defer src="./js/code-editor.js"></script>
 </body>
 </html>