@axium/rich-text 0.0.1 → 0.1.0
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/lib/nodes.svelte.ts +1 -2
- package/package.json +1 -1
- package/dist/.locale.d.ts +0 -17
- package/dist/.locale.js +0 -1
package/lib/nodes.svelte.ts
CHANGED
|
@@ -159,8 +159,7 @@ export function defineNode<Data>(options: CustomNodeOptions<Data>): CustomNode<D
|
|
|
159
159
|
new Plugin({
|
|
160
160
|
key: new PluginKey(`${name}-paste`),
|
|
161
161
|
props: {
|
|
162
|
-
transformPasted: slice =>
|
|
163
|
-
new Slice(transformPasted(slice.content), slice.openStart, slice.openEnd),
|
|
162
|
+
transformPasted: slice => new Slice(transformPasted(slice.content), slice.openStart, slice.openEnd),
|
|
164
163
|
},
|
|
165
164
|
})
|
|
166
165
|
);
|
package/package.json
CHANGED
package/dist/.locale.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare module '@james-pre/locales' {
|
|
2
|
-
interface Keys {
|
|
3
|
-
'RichText.bold': {};
|
|
4
|
-
'RichText.code': {};
|
|
5
|
-
'RichText.italic': {};
|
|
6
|
-
'RichText.link': {};
|
|
7
|
-
'RichText.link_apply': {};
|
|
8
|
-
'RichText.link_placeholder': {};
|
|
9
|
-
'RichText.strike': {};
|
|
10
|
-
'RichText.suggestions_empty': {};
|
|
11
|
-
'RichText.suggestions_loading': {};
|
|
12
|
-
'RichText.task_done': {};
|
|
13
|
-
'RichText.underline': {};
|
|
14
|
-
'RichText.unlink': {};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export {};
|
package/dist/.locale.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|