@flexiui/svelte-rich-text 0.0.69 → 0.0.71
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 +3 -3
- package/dist/styles.css +4 -3
- package/package.json +1 -1
package/dist/RichText.svelte
CHANGED
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
inlineNodeMode?: boolean;
|
|
102
102
|
trailingNode?: boolean;
|
|
103
103
|
cleanMode?: boolean;
|
|
104
|
+
[key: string]: any;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
type ToolbarButton =
|
|
@@ -394,7 +395,7 @@
|
|
|
394
395
|
content,
|
|
395
396
|
editorProps: {
|
|
396
397
|
attributes: {
|
|
397
|
-
class: cleanMode ? "fl-rich-text-doc
|
|
398
|
+
class: `fl-rich-text-doc ${cleanMode ? "fl-rich-text-doc--clean" : ""}`,
|
|
398
399
|
},
|
|
399
400
|
handleKeyDown: (view, event) => {
|
|
400
401
|
if (event.key === "Enter" && !event.ctrlKey) {
|
|
@@ -792,8 +793,7 @@ function onOpenChangeHighlight(open: boolean) {
|
|
|
792
793
|
<EditorContent
|
|
793
794
|
as={contentWrapperAs}
|
|
794
795
|
editor={$editor}
|
|
795
|
-
class=
|
|
796
|
-
data-fl-editable="true"
|
|
796
|
+
class={className}
|
|
797
797
|
{...rest}
|
|
798
798
|
/>
|
|
799
799
|
|
package/dist/styles.css
CHANGED