mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-05 03:27:27 +01:00
use a custom tinymce svelte component and other minor optimizations
This commit is contained in:
1 parent
c0fa53a2ab
commit
8868fa9ae6
106 files changed
+541
-326
No files matched your search
+1
-2
@@ -14,7 +14,7 @@
|
||||
import { admin } from "@/stores/admin";
|
||||
import { setErrors } from "@/stores/errors";
|
||||
import { resetConfirmation } from "@/stores/confirmation";
|
||||
import TinyMCE from "@tinymce/tinymce-svelte";
|
||||
import TinyMCE from "@/components/base/TinyMCE.svelte";
|
||||
|
||||
let oldLocation = undefined;
|
||||
|
||||
@@ -149,7 +149,6 @@
|
||||
{#if showAppSidebar && !isTinyMCEPreloaded}
|
||||
<div class="tinymce-preloader hidden">
|
||||
<TinyMCE
|
||||
scriptSrc="{import.meta.env.BASE_URL}libs/tinymce/tinymce.min.js"
|
||||
conf={CommonHelper.defaultEditorOptions()}
|
||||
on:init={() => {
|
||||
isTinyMCEPreloaded = true;
|
||||
|
||||
Reference in new issue
Block a user