@knime/kds-rich-text-editor 14.3.0 → 15.0.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/CHANGELOG.md +26 -0
- package/README.md +4 -0
- package/dist/index.css +17 -215
- package/dist/index.js +79 -24
- package/dist/index.js.map +1 -1
- package/dist/src/KdsRichTextEditor.vue.d.ts.map +1 -1
- package/dist/src/utils/character-limit.d.ts +15 -0
- package/dist/src/utils/character-limit.d.ts.map +1 -0
- package/dist/src/utils/custom-link.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsRichTextEditor.vue.d.ts","sourceRoot":"","sources":["../../src/KdsRichTextEditor.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsRichTextEditor.vue.d.ts","sourceRoot":"","sources":["../../src/KdsRichTextEditor.vue"],"names":[],"mappings":"AAubA,OAAO,yCAAyC,CAAC;AAOjD,OAAO,KAAK,EAA2B,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAY/E,KAAK,WAAW,GAAG,sBAAsB,CAAC;AAuP1C,KAAK,gBAAgB,GAAG;IACxB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAsKxD,QAAA,IAAI,OAAO;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAKrD,QAAA,MAAM,UAAU;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
type CharacterLimitOptions = {
|
|
3
|
+
/** Returns the current limit; `Infinity` for none. Read on every change. */
|
|
4
|
+
getLimit: () => number;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Limits the content to a number of characters, as CharacterCount's `limit`
|
|
8
|
+
* does, but reads the limit on every change. CharacterCount fixes its limit
|
|
9
|
+
* when the editor is created, so it can't follow an editor that switches
|
|
10
|
+
* between read-only and editing. Counts with CharacterCount, which must be
|
|
11
|
+
* registered too.
|
|
12
|
+
*/
|
|
13
|
+
export declare const CharacterLimit: Extension<CharacterLimitOptions, any>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=character-limit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"character-limit.d.ts","sourceRoot":"","sources":["../../../src/utils/character-limit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,KAAK,qBAAqB,GAAG;IAC3B,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,MAAM,CAAC;CACxB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,uCAwCzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-link.d.ts","sourceRoot":"","sources":["../../../src/utils/custom-link.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,YAAyB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IACvC;;;OAGG;IACH,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAQvC,CAAC;AAEF,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"custom-link.d.ts","sourceRoot":"","sources":["../../../src/utils/custom-link.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,YAAyB,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IACvC;;;OAGG;IACH,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAQvC,CAAC;AAEF,eAAO,MAAM,UAAU,gFAmFrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-rich-text-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Package containing the RichTextEditor component which follows the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"CHANGELOG.md"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@knime/kds-components": "^
|
|
36
|
-
"@knime/kds-styles": "^
|
|
37
|
-
"@knime/utils": "^4.
|
|
35
|
+
"@knime/kds-components": "^15.0.0",
|
|
36
|
+
"@knime/kds-styles": "^15.0.0",
|
|
37
|
+
"@knime/utils": "^4.1.0",
|
|
38
38
|
"@tiptap/core": "^3.31.0",
|
|
39
39
|
"@tiptap/extension-character-count": "^3.31.0",
|
|
40
40
|
"@tiptap/extension-hard-break": "^3.31.0",
|