@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.
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { exampleJSONContent, HEADINGS } from './utils';
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
- let currentJSON = {
108
- type: "doc",
109
- content: exampleJSONContent,
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flexiui/svelte-rich-text",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "A lightweight and flexible rich text editor component for Svelte",
5
5
  "keywords": [
6
6
  "svelte",