chore: debugging improvements 🚀 (#77)

* improve layout.server

* fix date behavior

* change direction of padlock icon on lesson

* feat: implement delete confirmation on lesson

* fix: course landing page improvements
This commit is contained in:
Rotimi Best
2023-12-04 19:39:39 +03:00
committed by GitHub
parent 1b69c6106f
commit f4141b08b3
16 changed files with 179 additions and 160 deletions
@@ -4,7 +4,7 @@
import { appStore } from '$lib/utils/store/app';
export let id = '';
export let value: string;
export let value: string | undefined = '';
export let onChange = (html: string) => {};
export let height = 300;
export let placeholder = '';
@@ -14,7 +14,7 @@
const apiKey = PUBLIC_TINYMCE_API_KEY;
let tinmycEditor: any;
let unmount = false
let unmount = false;
// editor configuration
let conf = {
@@ -73,6 +73,6 @@
<div>
{#if !unmount}
<Editor bind:value {apiKey} bind:conf />
<Editor bind:value {apiKey} bind:conf />
{/if}
</div>