@flexiui/svelte-rich-text 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RichText.svelte +4 -9
- package/package.json +1 -1
package/dist/RichText.svelte
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
2
|
+
import { HEADINGS } from './utils';
|
|
3
3
|
import "./styles.css";
|
|
4
4
|
|
|
5
5
|
import { onMount, onDestroy } from "svelte";
|
|
@@ -104,14 +104,9 @@
|
|
|
104
104
|
let currentTriggerEl: HTMLElement | null = null;
|
|
105
105
|
let activeDropdownType = $state(null);
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
if (!content) {
|
|
113
|
-
content = currentJSON;
|
|
114
|
-
}
|
|
107
|
+
// if (!content) {
|
|
108
|
+
// content = exampleJSONDoc;
|
|
109
|
+
// }
|
|
115
110
|
|
|
116
111
|
function toogleDropdown(el: HTMLElement, type: string = null) {
|
|
117
112
|
if (!el) return;
|