@doist/typist 2.0.0 → 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.
- package/CHANGELOG.md +12 -0
- package/dist/components/typist-editor.d.ts +1 -1
- package/dist/components/typist-editor.d.ts.map +1 -1
- package/dist/components/typist-editor.helper.d.ts +2 -2
- package/dist/components/typist-editor.helper.d.ts.map +1 -1
- package/dist/components/typist-editor.helper.js +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/extend-word-range.js +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content-at.d.ts +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content-at.d.ts.map +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content-at.js +4 -13
- package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content.d.ts +1 -1
- package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content.d.ts.map +1 -1
- package/dist/extensions/core/view-event-handlers.d.ts +1 -1
- package/dist/extensions/core/view-event-handlers.d.ts.map +1 -1
- package/dist/extensions/core/view-event-handlers.js +1 -1
- package/dist/extensions/plain-text/paste-multiline-text.js +2 -2
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.d.ts +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.d.ts.map +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-lists.js +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.d.ts +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.d.ts.map +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-select-wrap.js +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.d.ts +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.d.ts.map +1 -1
- package/dist/extensions/plain-text/smart-markdown-typing/plugins/smart-url-pasting.js +1 -1
- package/dist/extensions/rich-text/paste-emojis.js +1 -1
- package/dist/extensions/rich-text/paste-markdown.js +2 -2
- package/dist/extensions/rich-text/rich-text-image.js +1 -1
- package/dist/extensions/shared/paste-html-table-as-string.js +1 -1
- package/dist/extensions/shared/paste-singleline-text.js +1 -1
- package/dist/factories/create-suggestion-extension.js +1 -1
- package/dist/helpers/schema.d.ts +1 -1
- package/dist/helpers/schema.d.ts.map +1 -1
- package/dist/helpers/serializer.d.ts +1 -1
- package/dist/helpers/serializer.d.ts.map +1 -1
- package/dist/serializers/html/html.d.ts +1 -1
- package/dist/serializers/html/html.d.ts.map +1 -1
- package/dist/serializers/html/plugins/rehype-image.d.ts +1 -1
- package/dist/serializers/html/plugins/rehype-image.d.ts.map +1 -1
- package/dist/serializers/html/plugins/rehype-suggestions.d.ts +1 -1
- package/dist/serializers/html/plugins/rehype-suggestions.d.ts.map +1 -1
- package/dist/serializers/html/plugins/remark-disable-constructs.d.ts +1 -1
- package/dist/serializers/html/plugins/remark-disable-constructs.d.ts.map +1 -1
- package/dist/serializers/markdown/markdown.d.ts +1 -1
- package/dist/serializers/markdown/markdown.d.ts.map +1 -1
- package/dist/serializers/markdown/plugins/image.d.ts +1 -1
- package/dist/serializers/markdown/plugins/image.d.ts.map +1 -1
- package/dist/serializers/markdown/plugins/list-item.d.ts +1 -1
- package/dist/serializers/markdown/plugins/list-item.d.ts.map +1 -1
- package/dist/serializers/markdown/plugins/paragraph.d.ts +1 -1
- package/dist/serializers/markdown/plugins/paragraph.d.ts.map +1 -1
- package/dist/serializers/markdown/plugins/strikethrough.d.ts +1 -1
- package/dist/serializers/markdown/plugins/strikethrough.d.ts.map +1 -1
- package/dist/serializers/markdown/plugins/suggestion.d.ts +1 -1
- package/dist/serializers/markdown/plugins/suggestion.d.ts.map +1 -1
- package/dist/serializers/markdown/plugins/task-item.d.ts +1 -1
- package/dist/serializers/markdown/plugins/task-item.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
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
|
+
|
|
7
|
+
## [2.0.1](https://github.com/Doist/typist/compare/v2.0.0...v2.0.1) (2023-09-14)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **commands:** Buggy `insertMarkdownContentAt` implementation ([#442](https://github.com/Doist/typist/issues/442)) ([b9667f9](https://github.com/Doist/typist/commit/b9667f94d726285438244db1c58662b7c04ed8be))
|
|
12
|
+
|
|
1
13
|
## [2.0.0](https://github.com/Doist/typist/compare/v1.5.0...v2.0.0) (2023-09-13)
|
|
2
14
|
|
|
3
15
|
### ⚠ BREAKING CHANGES
|
|
@@ -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 '
|
|
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,
|
|
1
|
+
{"version":3,"file":"typist-editor.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Selection } from '
|
|
2
|
-
import type { Node as ProseMirrorNode } from '
|
|
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":"
|
|
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 { RawCommands } from '@tiptap/core';
|
|
2
2
|
import type { Range } from '@tiptap/core';
|
|
3
|
-
import type { ParseOptions } from '
|
|
3
|
+
import type { ParseOptions } from '@tiptap/pm/model';
|
|
4
4
|
/**
|
|
5
5
|
* Augment the official `@tiptap/core` module with extra commands so that the compiler knows about
|
|
6
6
|
* them. For this to work externally, a wildcard export needs to be added to the root `index.ts`.
|
package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content-at.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insert-markdown-content-at.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/core/extra-editor-commands/commands/insert-markdown-content-at.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA2B,MAAM,cAAc,CAAA;AAMnE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"insert-markdown-content-at.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/core/extra-editor-commands/commands/insert-markdown-content-at.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA2B,MAAM,cAAc,CAAA;AAMnE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAEpD;;;GAGG;AACH,OAAO,QAAQ,cAAc,CAAC;IAC1B,UAAU,QAAQ,CAAC,UAAU;QACzB,uBAAuB,EAAE;YACrB;;;;;;;;eAQG;YACH,uBAAuB,EAAE,CACrB,QAAQ,EAAE,MAAM,GAAG,KAAK,EACxB,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,uBAAuB,CAC5B,QAAQ,EAAE,MAAM,GAAG,KAAK,EACxB,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,yBAAyB,CAAC,CAAC,CAqCpD;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { selectionToInsertionEnd } from '@tiptap/core';
|
|
2
|
-
import { DOMParser } from '
|
|
2
|
+
import { DOMParser } from '@tiptap/pm/model';
|
|
3
3
|
import { parseHtmlToElement } from '../../../../helpers/dom';
|
|
4
4
|
import { getHTMLSerializerInstance } from '../../../../serializers/html/html';
|
|
5
5
|
/**
|
|
@@ -21,23 +21,14 @@ function insertMarkdownContentAt(position, markdown, options) {
|
|
|
21
21
|
...options,
|
|
22
22
|
};
|
|
23
23
|
// Get the start and end positions from the provided position
|
|
24
|
-
|
|
24
|
+
const { from, to } = typeof position === 'number'
|
|
25
25
|
? { from: position, to: position }
|
|
26
26
|
: { from: position.from, to: position.to };
|
|
27
|
-
// If the selection is empty, and we're in an empty textblock, expand the start and end
|
|
28
|
-
// positions to include the whole textblock (not leaving empty paragraphs behind)
|
|
29
|
-
if (from === to) {
|
|
30
|
-
const { parent } = tr.doc.resolve(from);
|
|
31
|
-
if (parent.isTextblock && parent.childCount === 0) {
|
|
32
|
-
from -= 1;
|
|
33
|
-
to += 1;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
27
|
// Parse the Markdown to HTML and then then into ProseMirror nodes
|
|
37
28
|
const htmlContent = getHTMLSerializerInstance(editor.schema).serialize(markdown);
|
|
38
|
-
const content = DOMParser.fromSchema(editor.schema).
|
|
29
|
+
const content = DOMParser.fromSchema(editor.schema).parseSlice(parseHtmlToElement(htmlContent), options.parseOptions);
|
|
39
30
|
// Inserts the content into the editor while preserving the current selection
|
|
40
|
-
tr.
|
|
31
|
+
tr.replaceRange(from, to, content);
|
|
41
32
|
// Set the text cursor to the end of the inserted content
|
|
42
33
|
if (options.updateSelection) {
|
|
43
34
|
selectionToInsertionEnd(tr, tr.steps.length - 1, -1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RawCommands } from '@tiptap/core';
|
|
2
|
-
import type { ParseOptions } from '
|
|
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`.
|
package/dist/extensions/core/extra-editor-commands/commands/insert-markdown-content.d.ts.map
CHANGED
|
@@ -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,
|
|
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 +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,
|
|
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 '
|
|
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 '
|
|
4
|
-
import { Plugin, PluginKey } from '
|
|
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 '
|
|
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,
|
|
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 } from '
|
|
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,
|
|
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 '
|
|
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 '
|
|
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,
|
|
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,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 '
|
|
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';
|
package/dist/helpers/schema.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/helpers/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
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 '
|
|
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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/serializers/html/html.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
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 +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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rehype-suggestions.d.ts","sourceRoot":"","sources":["../../../../src/serializers/html/plugins/rehype-suggestions.ts"],"names":[],"mappings":"
|
|
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 +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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/serializers/markdown/markdown.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
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 +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,
|
|
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 +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,
|
|
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 +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,
|
|
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 +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,
|
|
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 +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,
|
|
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 +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,
|
|
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.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://typist.doist.dev/",
|
|
7
7
|
"repository": "https://github.com/Doist/typist",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"classnames": "2.3.2",
|
|
107
107
|
"conventional-changelog-conventionalcommits": "6.1.0",
|
|
108
108
|
"emoji-regex": "10.2.1",
|
|
109
|
-
"eslint": "8.
|
|
109
|
+
"eslint": "8.49.0",
|
|
110
110
|
"eslint-formatter-codeframe": "7.32.1",
|
|
111
111
|
"eslint-import-resolver-typescript": "3.6.0",
|
|
112
112
|
"eslint-plugin-simple-import-sort": "10.0.0",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"type-fest": "4.3.1",
|
|
135
135
|
"typescript": "5.2.2",
|
|
136
136
|
"typescript-plugin-css-modules": "5.0.1",
|
|
137
|
-
"vitest": "0.34.
|
|
137
|
+
"vitest": "0.34.4"
|
|
138
138
|
},
|
|
139
139
|
"peerDependencies": {
|
|
140
140
|
"@react-hookz/web": "^14.2.3 || >=15.x",
|