sprintify-ui 0.8.44 → 0.8.46
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/dist/sprintify-ui.es.js +25511 -25879
- package/package.json +5 -1
- package/src/components/BaseRichText.vue +7 -1
- package/src/env.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sprintify-ui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist && vue-tsc && vite build",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"@fullcalendar/vue3": "^6.1.11",
|
|
47
47
|
"@headlessui/vue": "^1.7.19",
|
|
48
48
|
"color2k": "^2.0.3",
|
|
49
|
+
"quill-markdown-shortcuts": "^0.0.10",
|
|
49
50
|
"tailwind-merge": "^2.4.0"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
@@ -118,6 +119,9 @@
|
|
|
118
119
|
"src",
|
|
119
120
|
"dist"
|
|
120
121
|
],
|
|
122
|
+
"overrides": {
|
|
123
|
+
"quill": "^2.0.2"
|
|
124
|
+
},
|
|
121
125
|
"types": "./dist/types/index.d.ts",
|
|
122
126
|
"module": "./dist/sprintify-ui.es.js",
|
|
123
127
|
"exports": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
:content="modelValue ?? ''"
|
|
20
20
|
:read-only="disabled"
|
|
21
21
|
:enable="enable"
|
|
22
|
+
:modules="modules"
|
|
22
23
|
content-type="html"
|
|
23
24
|
@update:content="emitUpdate(updateChange($event))"
|
|
24
25
|
/>
|
|
@@ -33,7 +34,7 @@ import { useField } from '@/composables/field';
|
|
|
33
34
|
import { QuillEditor } from '@vueup/vue-quill';
|
|
34
35
|
import Delta from 'quill-delta';
|
|
35
36
|
import { Size } from '@/utils/sizes';
|
|
36
|
-
|
|
37
|
+
import MarkdownShortcuts from 'quill-markdown-shortcuts';
|
|
37
38
|
|
|
38
39
|
const props = defineProps({
|
|
39
40
|
modelValue: {
|
|
@@ -95,6 +96,11 @@ const { nameInternal, requiredInternal, hasErrorInternal, emitUpdate, sizeIntern
|
|
|
95
96
|
emit: emit,
|
|
96
97
|
});
|
|
97
98
|
|
|
99
|
+
const modules = {
|
|
100
|
+
name: 'markdownShortcuts',
|
|
101
|
+
module: MarkdownShortcuts,
|
|
102
|
+
}
|
|
103
|
+
|
|
98
104
|
function updateChange(value: string | null): string | null {
|
|
99
105
|
if (value === null) {
|
|
100
106
|
return '';
|