@doist/typist 2.0.1 → 2.0.2

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/components/typist-editor.d.ts +1 -1
  3. package/dist/components/typist-editor.d.ts.map +1 -1
  4. package/dist/components/typist-editor.helper.d.ts +2 -2
  5. package/dist/components/typist-editor.helper.d.ts.map +1 -1
  6. package/dist/components/typist-editor.helper.js +1 -1
  7. package/dist/extensions/core/extra-editor-commands/commands/extend-word-range.js +1 -1
  8. package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content.d.ts +1 -1
  9. package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content.d.ts.map +1 -1
  10. package/dist/extensions/core/view-event-handlers.d.ts +1 -1
  11. package/dist/extensions/core/view-event-handlers.d.ts.map +1 -1
  12. package/dist/extensions/core/view-event-handlers.js +1 -1
  13. package/dist/extensions/plain-text/paste-multiline-text.js +2 -2
  14. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.d.ts +1 -1
  15. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.d.ts.map +1 -1
  16. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.js +1 -1
  17. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.d.ts +1 -1
  18. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.d.ts.map +1 -1
  19. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.js +1 -1
  20. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.d.ts +1 -1
  21. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.d.ts.map +1 -1
  22. package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.js +1 -1
  23. package/dist/extensions/rich-text/paste-emojis.js +1 -1
  24. package/dist/extensions/rich-text/paste-markdown.js +2 -2
  25. package/dist/extensions/rich-text/rich-text-image.js +1 -1
  26. package/dist/extensions/shared/paste-html-table-as-string.js +1 -1
  27. package/dist/extensions/shared/paste-singleline-text.js +1 -1
  28. package/dist/factories/create-suggestion-extension.js +1 -1
  29. package/dist/helpers/schema.d.ts +1 -1
  30. package/dist/helpers/schema.d.ts.map +1 -1
  31. package/dist/helpers/serializer.d.ts +1 -1
  32. package/dist/helpers/serializer.d.ts.map +1 -1
  33. package/dist/serializers/html/html.d.ts +1 -1
  34. package/dist/serializers/html/html.d.ts.map +1 -1
  35. package/dist/serializers/html/plugins/rehype-image.d.ts +1 -1
  36. package/dist/serializers/html/plugins/rehype-image.d.ts.map +1 -1
  37. package/dist/serializers/html/plugins/rehype-suggestions.d.ts +1 -1
  38. package/dist/serializers/html/plugins/rehype-suggestions.d.ts.map +1 -1
  39. package/dist/serializers/html/plugins/remark-disable-constructs.d.ts +1 -1
  40. package/dist/serializers/html/plugins/remark-disable-constructs.d.ts.map +1 -1
  41. package/dist/serializers/markdown/markdown.d.ts +1 -1
  42. package/dist/serializers/markdown/markdown.d.ts.map +1 -1
  43. package/dist/serializers/markdown/plugins/image.d.ts +1 -1
  44. package/dist/serializers/markdown/plugins/image.d.ts.map +1 -1
  45. package/dist/serializers/markdown/plugins/list-item.d.ts +1 -1
  46. package/dist/serializers/markdown/plugins/list-item.d.ts.map +1 -1
  47. package/dist/serializers/markdown/plugins/paragraph.d.ts +1 -1
  48. package/dist/serializers/markdown/plugins/paragraph.d.ts.map +1 -1
  49. package/dist/serializers/markdown/plugins/strikethrough.d.ts +1 -1
  50. package/dist/serializers/markdown/plugins/strikethrough.d.ts.map +1 -1
  51. package/dist/serializers/markdown/plugins/suggestion.d.ts +1 -1
  52. package/dist/serializers/markdown/plugins/suggestion.d.ts.map +1 -1
  53. package/dist/serializers/markdown/plugins/task-item.d.ts +1 -1
  54. package/dist/serializers/markdown/plugins/task-item.d.ts.map +1 -1
  55. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [2.0.2](https://github.com/Doist/typist/compare/v2.0.1...v2.0.2) (2023-09-14)
2
+
3
+ ### Bug Fixes
4
+
5
+ - Update ProseMirror imports to `@tiptap/pm/*` packages ([#443](https://github.com/Doist/typist/issues/443)) ([48e42e8](https://github.com/Doist/typist/commit/48e42e8294bce3b768313047ab8f5268ee900abb))
6
+
1
7
  ## [2.0.1](https://github.com/Doist/typist/compare/v2.0.0...v2.0.1) (2023-09-14)
2
8
 
3
9
  ### Bug Fixes
@@ -1,7 +1,7 @@
1
1
  import { ViewEventHandlersOptions } from '../extensions/core/view-event-handlers';
2
2
  import { getAllNodesAttributesByType } from './typist-editor.helper';
3
3
  import type { Editor as CoreEditor, EditorEvents, Extensions } from '@tiptap/core';
4
- import type { Selection } from 'prosemirror-state';
4
+ import type { Selection } from '@tiptap/pm/state';
5
5
  /**
6
6
  * The forwarded ref that describes the helper methods that the `TypistEditor` parent component
7
7
  * will have access to.
@@ -1 +1 @@
1
- {"version":3,"file":"typist-editor.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAqB,wBAAwB,EAAE,MAAM,wCAAwC,CAAA;AAMpG,OAAO,EAAE,2BAA2B,EAA2B,MAAM,wBAAwB,CAAA;AAE7F,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAClF,OAAO,KAAK,EAAU,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE1D;;;GAGG;AACH,KAAK,eAAe,GAAG;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,UAAU,CAAA;IAE3B;;OAEG;IACH,WAAW,EAAE,MAAM,MAAM,CAAA;IAEzB;;OAEG;IACH,2BAA2B,EAAE,CACzB,QAAQ,EAAE,MAAM,KACf,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAA;CACtD,CAAA;AAED;;GAEG;AACH,KAAK,iBAAiB,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;AAEF,OAAO,EAAE,YAAY,EAAE,CAAA;AAEvB,YAAY,EACR,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,WAAW,GACd,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Selection } from 'prosemirror-state';
2
- import type { Node as ProseMirrorNode } from 'prosemirror-model';
1
+ import { Selection } from '@tiptap/pm/state';
2
+ import type { Node as ProseMirrorNode } from '@tiptap/pm/model';
3
3
  /**
4
4
  * Given a ProseMirror document, and a selection, resolves that selection within the bounds of the
5
5
  * document size. This works similarly to the official `autoFocus` implementation.
@@ -1 +1 @@
1
- {"version":3,"file":"typist-editor.helper.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAiB,MAAM,mBAAmB,CAAA;AAE5D,OAAO,KAAK,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEhE;;;GAGG;AACH,iBAAS,uBAAuB,CAAC,GAAG,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,CAStF;AAED;;GAEG;AACH,KAAK,cAAc,GAAG;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACzB,CAAA;AAED;;;;GAIG;AACH,iBAAS,2BAA2B,CAChC,GAAG,EAAE,eAAe,EACpB,QAAQ,EAAE,MAAM,GACjB,KAAK,CAAC,cAAc,CAAC,CAUvB;AAED,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,CAAA;AAE/D,YAAY,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"typist-editor.helper.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiB,MAAM,kBAAkB,CAAA;AAG3D,OAAO,KAAK,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAE/D;;;GAGG;AACH,iBAAS,uBAAuB,CAAC,GAAG,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,CAStF;AAED;;GAEG;AACH,KAAK,cAAc,GAAG;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACzB,CAAA;AAED;;;;GAIG;AACH,iBAAS,2BAA2B,CAChC,GAAG,EAAE,eAAe,EACpB,QAAQ,EAAE,MAAM,GACjB,KAAK,CAAC,cAAc,CAAC,CAUvB;AAED,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,CAAA;AAE/D,YAAY,EAAE,cAAc,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
+ import { Selection, TextSelection } from '@tiptap/pm/state';
1
2
  import { clamp } from 'lodash-es';
2
- import { Selection, TextSelection } from 'prosemirror-state';
3
3
  /**
4
4
  * Given a ProseMirror document, and a selection, resolves that selection within the bounds of the
5
5
  * document size. This works similarly to the official `autoFocus` implementation.
@@ -1,6 +1,6 @@
1
1
  import { isActive, isTextSelection } from '@tiptap/core';
2
+ import { TextSelection } from '@tiptap/pm/state';
2
3
  import { clamp } from 'lodash-es';
3
- import { TextSelection } from 'prosemirror-state';
4
4
  /**
5
5
  * Extends the text selection to the current word.
6
6
  *
@@ -1,5 +1,5 @@
1
1
  import { RawCommands } from '@tiptap/core';
2
- import type { ParseOptions } from 'prosemirror-model';
2
+ import type { ParseOptions } from '@tiptap/pm/model';
3
3
  /**
4
4
  * Augment the official `@tiptap/core` module with extra commands so that the compiler knows about
5
5
  * them. For this to work externally, a wildcard export needs to be added to the root `index.ts`.
@@ -1 +1 @@
1
- {"version":3,"file":"insert-markdown-content.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/core/extra-editor-commands/commands/insert-markdown-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD;;;GAGG;AACH,OAAO,QAAQ,cAAc,CAAC;IAC1B,UAAU,QAAQ,CAAC,UAAU;QACzB,qBAAqB,EAAE;YACnB;;;;;;;eAOG;YACH,qBAAqB,EAAE,CACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;gBACN,YAAY,CAAC,EAAE,YAAY,CAAA;gBAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;aAC5B,KACA,UAAU,CAAA;SAClB,CAAA;KACJ;CACJ;AAED;;;;;GAKG;AACH,iBAAS,qBAAqB,CAC1B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;IACN,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC5B,GACF,UAAU,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,CAQlD;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
1
+ {"version":3,"file":"insert-markdown-content.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/core/extra-editor-commands/commands/insert-markdown-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAEpD;;;GAGG;AACH,OAAO,QAAQ,cAAc,CAAC;IAC1B,UAAU,QAAQ,CAAC,UAAU;QACzB,qBAAqB,EAAE;YACnB;;;;;;;eAOG;YACH,qBAAqB,EAAE,CACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;gBACN,YAAY,CAAC,EAAE,YAAY,CAAA;gBAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;aAC5B,KACA,UAAU,CAAA;SAClB,CAAA;KACJ;CACJ;AAED;;;;;GAKG;AACH,iBAAS,qBAAqB,CAC1B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;IACN,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC5B,GACF,UAAU,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,CAQlD;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Extension } from '@tiptap/core';
2
- import type { EditorView } from 'prosemirror-view';
2
+ import type { EditorView } from '@tiptap/pm/view';
3
3
  /**
4
4
  * The options available to customize the `ViewEventHandlers` extension.
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"view-event-handlers.d.ts","sourceRoot":"","sources":["../../../src/extensions/core/view-event-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD;;;;;GAKG;AACH,KAAK,wBAAwB,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAA;IAE9E;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,UAAU,KAAK,OAAO,GAAG,IAAI,CAAA;CACzE,CAAA;AAED;;;;;;;;;;GAUG;AACH,QAAA,MAAM,iBAAiB,0CAoBrB,CAAA;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAE5B,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
1
+ {"version":3,"file":"view-event-handlers.d.ts","sourceRoot":"","sources":["../../../src/extensions/core/view-event-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD;;;;;GAKG;AACH,KAAK,wBAAwB,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAA;IAE9E;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,UAAU,KAAK,OAAO,GAAG,IAAI,CAAA;CACzE,CAAA;AAED;;;;;;;;;;GAUG;AACH,QAAA,MAAM,iBAAiB,0CAoBrB,CAAA;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAE5B,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Extension } from '@tiptap/core';
2
- import { Plugin, PluginKey } from 'prosemirror-state';
2
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
3
3
  import { VIEW_EVENT_HANDLERS_PRIORITY } from '../../constants/extension-priorities';
4
4
  /**
5
5
  * The `ViewEventHandlers` extension allows handling of various ProseMirror view events.
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable no-console */
2
2
  import { Extension } from '@tiptap/core';
3
- import { Fragment, Slice } from 'prosemirror-model';
4
- import { Plugin, PluginKey } from 'prosemirror-state';
3
+ import { Fragment, Slice } from '@tiptap/pm/model';
4
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
5
5
  import { ClipboardDataType } from '../../constants/common';
6
6
  import { REGEX_LINE_BREAKS } from '../../constants/regular-expressions';
7
7
  /**
@@ -1,4 +1,4 @@
1
- import { Plugin } from 'prosemirror-state';
1
+ import { Plugin } from '@tiptap/pm/state';
2
2
  /**
3
3
  * This plugin provides a more plesant typing experience for both standard and task lists, adding
4
4
  * the list marker automatically when pressing the `Enter` key, and it also supports list items
@@ -1 +1 @@
1
- {"version":3,"file":"smart-lists.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAa,MAAM,mBAAmB,CAAA;AAsBrD;;;;GAIG;AACH,QAAA,MAAM,UAAU,aAsFd,CAAA;AAEF,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"smart-lists.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAa,MAAM,kBAAkB,CAAA;AAsBpD;;;;GAIG;AACH,QAAA,MAAM,UAAU,aAsFd,CAAA;AAEF,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Plugin, PluginKey } from 'prosemirror-state';
1
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
2
2
  import { isMultilineDocument } from '../../../../helpers/schema';
3
3
  /**
4
4
  * A list of the allowed keys that might trigger smart typing.
@@ -1,4 +1,4 @@
1
- import { Plugin } from 'prosemirror-state';
1
+ import { Plugin } from '@tiptap/pm/state';
2
2
  /**
3
3
  * This plugin wraps a selection with matching symbols based on the typed character, wrapping the
4
4
  * selection with the corresponding opening and closing bracket symbols when appropriate. This
@@ -1 +1 @@
1
- {"version":3,"file":"smart-select-wrap.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA4B,MAAM,mBAAmB,CAAA;AAsBpE;;;;GAIG;AACH,QAAA,MAAM,eAAe,aA+BnB,CAAA;AAEF,OAAO,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"smart-select-wrap.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA4B,MAAM,kBAAkB,CAAA;AAsBnE;;;;GAIG;AACH,QAAA,MAAM,eAAe,aA+BnB,CAAA;AAEF,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Plugin, PluginKey, TextSelection } from 'prosemirror-state';
1
+ import { Plugin, PluginKey, TextSelection } from '@tiptap/pm/state';
2
2
  /**
3
3
  * An object holding the acceptable wrapping symbols. The key represents the trigger character, and
4
4
  * the character to be added before the selection, while the value represents the character to be
@@ -1,4 +1,4 @@
1
- import { Plugin } from 'prosemirror-state';
1
+ import { Plugin } from '@tiptap/pm/state';
2
2
  /**
3
3
  * This plugin replaces a selection with the pasted URL using proper link syntax; unless the
4
4
  * selection is itself a URL, which in that case the selection will just be replaced by the pasted
@@ -1 +1 @@
1
- {"version":3,"file":"smart-url-pasting.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA4B,MAAM,mBAAmB,CAAA;AAcpE;;;;GAIG;AACH,QAAA,MAAM,eAAe,aAsCnB,CAAA;AAEF,OAAO,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"smart-url-pasting.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA4B,MAAM,kBAAkB,CAAA;AAcnE;;;;GAIG;AACH,QAAA,MAAM,eAAe,aAsCnB,CAAA;AAEF,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Plugin, PluginKey, TextSelection } from 'prosemirror-state';
1
+ import { Plugin, PluginKey, TextSelection } from '@tiptap/pm/state';
2
2
  import { ClipboardDataType } from '../../../../constants/common';
3
3
  /**
4
4
  * The perfect URL validation regex for Web URLs.
@@ -1,6 +1,6 @@
1
1
  import { Extension } from '@tiptap/core';
2
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
2
3
  import emojiRegex from 'emoji-regex';
3
- import { Plugin, PluginKey } from 'prosemirror-state';
4
4
  // Regular expression to match all emoji symbols and sequences (including textual representations)
5
5
  const baseEmojiRegExp = emojiRegex();
6
6
  // Regular expression to match `<img>` tags with emoji unicode characters in the `alt` attribute
@@ -1,7 +1,7 @@
1
1
  import { Extension } from '@tiptap/core';
2
+ import { Fragment, Slice } from '@tiptap/pm/model';
3
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
2
4
  import * as linkify from 'linkifyjs';
3
- import { Fragment, Slice } from 'prosemirror-model';
4
- import { Plugin, PluginKey } from 'prosemirror-state';
5
5
  import { ClipboardDataType } from '../../constants/common';
6
6
  import { PASTE_MARKDOWN_EXTENSION_PRIORITY } from '../../constants/extension-priorities';
7
7
  /**
@@ -1,6 +1,6 @@
1
1
  import { Image } from '@tiptap/extension-image';
2
+ import { Plugin, PluginKey, Selection } from '@tiptap/pm/state';
2
3
  import { ReactNodeViewRenderer } from '@tiptap/react';
3
- import { Plugin, PluginKey, Selection } from 'prosemirror-state';
4
4
  /**
5
5
  * Custom extension that extends the built-in `Image` extension to add support for image pasting,
6
6
  * and also adds the ability to pass aditional metadata about an image attachment upload.
@@ -1,5 +1,5 @@
1
1
  import { Extension } from '@tiptap/core';
2
- import { Plugin, PluginKey } from 'prosemirror-state';
2
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
3
3
  import { PASTE_HTML_TABLE_AS_STRING_EXTENSION_PRIORITY } from '../../constants/extension-priorities';
4
4
  import { parseHtmlToElement } from '../../helpers/dom';
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import { Extension } from '@tiptap/core';
2
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
2
3
  import { escape } from 'lodash-es';
3
- import { Plugin, PluginKey } from 'prosemirror-state';
4
4
  import { REGEX_LINE_BREAKS } from '../../constants/regular-expressions';
5
5
  import { parseHtmlToElement } from '../../helpers/dom';
6
6
  import { isPlainTextDocument } from '../../helpers/schema';
@@ -1,7 +1,7 @@
1
1
  import { mergeAttributes, Node } from '@tiptap/core';
2
+ import { PluginKey } from '@tiptap/pm/state';
2
3
  import { Suggestion as TiptapSuggestion } from '@tiptap/suggestion';
3
4
  import { camelCase, kebabCase } from 'lodash-es';
4
- import { PluginKey } from 'prosemirror-state';
5
5
  import { SUGGESTION_EXTENSION_PRIORITY } from '../constants/extension-priorities';
6
6
  import { canInsertNodeAt } from '../utilities/can-insert-node-at';
7
7
  import { canInsertSuggestion } from '../utilities/can-insert-suggestion';
@@ -1,4 +1,4 @@
1
- import type { Schema } from 'prosemirror-model';
1
+ import type { Schema } from '@tiptap/pm/model';
2
2
  /**
3
3
  * Check if the document schema accepts multiple lines of input.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/helpers/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;;;;;GAMG;AACH,iBAAS,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED;;;;;;GAMG;AACH,iBAAS,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED;;;;;;GAMG;AACH,iBAAS,eAAe,CAAC,MAAM,EAAE,MAAM,UAEtC;AAED,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/helpers/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C;;;;;;GAMG;AACH,iBAAS,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED;;;;;;GAMG;AACH,iBAAS,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED;;;;;;GAMG;AACH,iBAAS,eAAe,CAAC,MAAM,EAAE,MAAM,UAEtC;AAED,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { ParseRule, Schema } from 'prosemirror-model';
1
+ import type { ParseRule, Schema } from '@tiptap/pm/model';
2
2
  /**
3
3
  * Builds a partial regular expression that includes valid URL schemas used by all the available
4
4
  * suggestion nodes from the given editor schema.
@@ -1 +1 @@
1
- {"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../src/helpers/serializer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1D;;;;;;;;GAQG;AACH,iBAAS,iCAAiC,CAAC,MAAM,EAAE,MAAM,iBAYxD;AAED;;;;;;GAMG;AACH,iBAAS,yBAAyB,CAC9B,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE,GAClC,CAAC,MAAM,qBAAqB,CAAC,EAAE,CAQjC;AAED,OAAO,EAAE,iCAAiC,EAAE,yBAAyB,EAAE,CAAA"}
1
+ {"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../src/helpers/serializer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAEzD;;;;;;;;GAQG;AACH,iBAAS,iCAAiC,CAAC,MAAM,EAAE,MAAM,iBAYxD;AAED;;;;;;GAMG;AACH,iBAAS,yBAAyB,CAC9B,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE,GAClC,CAAC,MAAM,qBAAqB,CAAC,EAAE,CAQjC;AAED,OAAO,EAAE,iCAAiC,EAAE,yBAAyB,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { Schema } from 'prosemirror-model';
1
+ import type { Schema } from '@tiptap/pm/model';
2
2
  /**
3
3
  * The return type for the `createHTMLSerializer` function.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/serializers/html/html.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;GAEG;AACH,KAAK,wBAAwB,GAAG;IAC5B;;;;;;OAMG;IACH,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;CAC1C,CAAA;AA0CD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB,CAiFtE;AAOD;;;;;;GAMG;AACH,iBAAS,yBAAyB,CAAC,MAAM,EAAE,MAAM,4BAQhD;AAED,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,CAAA;AAE1D,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/serializers/html/html.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C;;GAEG;AACH,KAAK,wBAAwB,GAAG;IAC5B;;;;;;OAMG;IACH,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;CAC1C,CAAA;AA0CD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB,CAiFtE;AAOD;;;;;;GAMG;AACH,iBAAS,yBAAyB,CAAC,MAAM,EAAE,MAAM,4BAQhD;AAED,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,CAAA;AAE1D,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { Schema } from 'prosemirror-model';
1
+ import type { Schema } from '@tiptap/pm/model';
2
2
  import type { Transformer } from 'unified';
3
3
  /**
4
4
  * A rehype plugin to remove the wrapping paragraph from images and to remove all inline images if
@@ -1 +1 @@
1
- {"version":3,"file":"rehype-image.d.ts","sourceRoot":"","sources":["../../../../src/serializers/html/plugins/rehype-image.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAG1C;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CA0BhD;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"rehype-image.d.ts","sourceRoot":"","sources":["../../../../src/serializers/html/plugins/rehype-image.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAG1C;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CA0BhD;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { Schema } from 'prosemirror-model';
1
+ import type { Schema } from '@tiptap/pm/model';
2
2
  import type { Transformer } from 'unified';
3
3
  /**
4
4
  * A rehype plugin to add support for suggestions nodes (e.g., `@username` or `#channel).
@@ -1 +1 @@
1
- {"version":3,"file":"rehype-suggestions.d.ts","sourceRoot":"","sources":["../../../../src/serializers/html/plugins/rehype-suggestions.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;GAIG;AACH,iBAAS,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CA+BtD;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"rehype-suggestions.d.ts","sourceRoot":"","sources":["../../../../src/serializers/html/plugins/rehype-suggestions.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;GAIG;AACH,iBAAS,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CA+BtD;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { Schema } from 'prosemirror-model';
1
+ import type { Schema } from '@tiptap/pm/model';
2
2
  import type { Processor } from 'unified';
3
3
  /**
4
4
  * A remark plugin to disable multiple language constructs based on the availability of marks and/or
@@ -1 +1 @@
1
- {"version":3,"file":"remark-disable-constructs.d.ts","sourceRoot":"","sources":["../../../../src/serializers/html/plugins/remark-disable-constructs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,iBAAS,uBAAuB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,QAqD/D;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
1
+ {"version":3,"file":"remark-disable-constructs.d.ts","sourceRoot":"","sources":["../../../../src/serializers/html/plugins/remark-disable-constructs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,iBAAS,uBAAuB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,QAqD/D;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { Schema } from 'prosemirror-model';
1
+ import type { Schema } from '@tiptap/pm/model';
2
2
  /**
3
3
  * The return type for the `createMarkdownSerializer` function.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/serializers/markdown/markdown.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;GAEG;AACH,KAAK,4BAA4B,GAAG;IAChC;;;;;;OAMG;IACH,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA;CACtC,CAAA;AASD;;GAEG;AACH,QAAA,MAAM,kBAAkB,MAAM,CAAA;AA8C9B;;;;;;;;;;;;GAYG;AACH,iBAAS,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,4BAA4B,CAiG9E;AAOD;;;;;;GAMG;AACH,iBAAS,6BAA6B,CAAC,MAAM,EAAE,MAAM,gCAQpD;AAED,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,CAAA;AAEtF,YAAY,EAAE,4BAA4B,EAAE,CAAA"}
1
+ {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/serializers/markdown/markdown.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C;;GAEG;AACH,KAAK,4BAA4B,GAAG;IAChC;;;;;;OAMG;IACH,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA;CACtC,CAAA;AASD;;GAEG;AACH,QAAA,MAAM,kBAAkB,MAAM,CAAA;AA8C9B;;;;;;;;;;;;GAYG;AACH,iBAAS,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,4BAA4B,CAiG9E;AAOD;;;;;;GAMG;AACH,iBAAS,6BAA6B,CAAC,MAAM,EAAE,MAAM,gCAQpD;AAED,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,CAAA;AAEtF,YAAY,EAAE,4BAA4B,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { NodeType } from 'prosemirror-model';
1
+ import type { NodeType } from '@tiptap/pm/model';
2
2
  import type Turndown from 'turndown';
3
3
  /**
4
4
  * A Turndown plugin which adds a custom rule for images. This custom rule is required to disable
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAWpC;;;;;;GAMG;AACH,iBAAS,KAAK,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAiBlD;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAWpC;;;;;;GAMG;AACH,iBAAS,KAAK,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAiBlD;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { NodeType } from 'prosemirror-model';
1
+ import type { NodeType } from '@tiptap/pm/model';
2
2
  import type Turndown from 'turndown';
3
3
  /**
4
4
  * A Turndown plugin which adds a custom rule for standard list items (i.e., not task list items),
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/list-item.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;;;GAQG;AACH,iBAAS,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAqCrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
1
+ {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/list-item.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;;;GAQG;AACH,iBAAS,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAqCrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { NodeType } from 'prosemirror-model';
1
+ import type { NodeType } from '@tiptap/pm/model';
2
2
  import type Turndown from 'turndown';
3
3
  /**
4
4
  * A Turndown plugin which adds a custom rule for paragraphs. This custom rule is required to avoid
@@ -1 +1 @@
1
- {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/paragraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;GAMG;AACH,iBAAS,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC,MAAM,CAS5E;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/paragraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;GAMG;AACH,iBAAS,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC,MAAM,CAS5E;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { MarkType } from 'prosemirror-model';
1
+ import type { MarkType } from '@tiptap/pm/model';
2
2
  import type Turndown from 'turndown';
3
3
  /**
4
4
  * A Turndown plugin which adds a rule for strikethrough text, based on the original plugin. This
@@ -1 +1 @@
1
- {"version":3,"file":"strikethrough.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/strikethrough.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;;GAOG;AACH,iBAAS,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAa1D;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"strikethrough.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/strikethrough.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;;GAOG;AACH,iBAAS,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAa1D;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { NodeType } from 'prosemirror-model';
1
+ import type { NodeType } from '@tiptap/pm/model';
2
2
  import type Turndown from 'turndown';
3
3
  /**
4
4
  * A Turndown plugin which adds a custom rule for suggestion nodes created by the suggestion
@@ -1 +1 @@
1
- {"version":3,"file":"suggestion.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/suggestion.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;GAKG;AACH,iBAAS,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAgBvD;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"suggestion.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/suggestion.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;GAKG;AACH,iBAAS,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAgBvD;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { NodeType } from 'prosemirror-model';
1
+ import type { NodeType } from '@tiptap/pm/model';
2
2
  import type Turndown from 'turndown';
3
3
  /**
4
4
  * A Turndown plugin which adds a rule for task list items (i.e., `* [ ] Task`), based on the
@@ -1 +1 @@
1
- {"version":3,"file":"task-item.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/task-item.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;;;GAQG;AACH,iBAAS,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAkCrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
1
+ {"version":3,"file":"task-item.d.ts","sourceRoot":"","sources":["../../../../src/serializers/markdown/plugins/task-item.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC;;;;;;;;GAQG;AACH,iBAAS,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAkCrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@doist/typist",
3
3
  "description": "The mighty Tiptap-based rich-text editor React component that powers Doist products.",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "license": "MIT",
6
6
  "homepage": "https://typist.doist.dev/",
7
7
  "repository": "https://github.com/Doist/typist",