@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/rich-text",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "Rich text editing for Axium",
6
6
  "funding": {
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 {};