@zipify/wysiwyg 3.1.3 → 3.2.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.
@@ -1,4 +1,4 @@
1
- import { Decoration, DecorationSet } from 'prosemirror-view';
1
+ import { Decoration, DecorationSet } from '@tiptap/pm/view';
2
2
  import { ProseMirrorPlugin } from './ProseMirrorPlugin';
3
3
 
4
4
  export class PlaceholderPlugin extends ProseMirrorPlugin {
@@ -1,4 +1,4 @@
1
- import { Plugin, PluginKey } from 'prosemirror-state';
1
+ import { Plugin, PluginKey } from '@tiptap/pm/state';
2
2
 
3
3
  export class ProseMirrorPlugin {
4
4
  static create(editor, options) {
@@ -1,6 +1,6 @@
1
1
  import { ref } from 'vue';
2
2
  import { getSchema } from '@tiptap/core';
3
- import { DOMParser } from 'prosemirror-model';
3
+ import { DOMParser } from '@tiptap/pm/model';
4
4
  import { buildExtensions } from '../extensions';
5
5
  import { Devices } from '../enums';
6
6
  import { ContentNormalizer } from './normalizer';
@@ -1,4 +1,4 @@
1
- import { Schema } from 'prosemirror-model';
1
+ import { Schema } from '@tiptap/pm/model';
2
2
  import { NodeFactory } from '../NodeFactory';
3
3
  import { NodeSelector } from '../NodeSelector';
4
4
  import { NodeTypes, TextSettings } from '../../enums';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zipify/wysiwyg",
3
- "version": "3.1.3",
3
+ "version": "3.2.0",
4
4
  "description": "Zipify modification of TipTap text editor",
5
5
  "main": "dist/wysiwyg.mjs",
6
6
  "bin": {
@@ -32,19 +32,20 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@popperjs/core": "^2.11.6",
35
- "@tiptap/core": "2.0.0-beta.209",
36
- "@tiptap/extension-document": "2.0.0-beta.209",
37
- "@tiptap/extension-heading": "2.0.0-beta.209",
38
- "@tiptap/extension-history": "2.0.0-beta.209",
39
- "@tiptap/extension-link": "2.0.0-beta.209",
40
- "@tiptap/extension-list-item": "2.0.0-beta.209",
41
- "@tiptap/extension-paragraph": "2.0.0-beta.209",
42
- "@tiptap/extension-text": "2.0.0-beta.209",
43
- "@tiptap/vue-2": "2.0.0-beta.209",
44
- "commander": "^9.4.1",
45
- "jsdom": "^20.0.3",
35
+ "@tiptap/core": "2.0.0-beta.215",
36
+ "@tiptap/extension-document": "2.0.0-beta.215",
37
+ "@tiptap/extension-heading": "2.0.0-beta.215",
38
+ "@tiptap/extension-history": "2.0.0-beta.215",
39
+ "@tiptap/extension-link": "2.0.0-beta.215",
40
+ "@tiptap/extension-list-item": "2.0.0-beta.215",
41
+ "@tiptap/extension-paragraph": "2.0.0-beta.215",
42
+ "@tiptap/extension-text": "2.0.0-beta.215",
43
+ "@tiptap/pm": "^2.0.0-beta.215",
44
+ "@tiptap/vue-2": "2.0.0-beta.215",
45
+ "commander": "^10.0.0",
46
+ "jsdom": "^21.1.0",
46
47
  "lodash": "^4.17.21",
47
- "simplebar": "^5.3.9"
48
+ "simplebar": "^6.2.0"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "@zipify/colorpicker": "^2.2",
@@ -59,38 +60,38 @@
59
60
  }
60
61
  },
61
62
  "devDependencies": {
62
- "@babel/core": "^7.20.7",
63
+ "@babel/core": "^7.20.12",
63
64
  "@babel/eslint-parser": "^7.19.1",
64
65
  "@babel/plugin-transform-runtime": "^7.19.6",
65
66
  "@babel/preset-env": "^7.20.2",
66
- "@babel/runtime": "^7.20.7",
67
- "@optimize-lodash/rollup-plugin": "^4.0.1",
67
+ "@babel/runtime": "^7.20.13",
68
+ "@optimize-lodash/rollup-plugin": "^4.0.3",
68
69
  "@rollup/plugin-babel": "^6.0.3",
69
- "@rollup/plugin-commonjs": "^24.0.0",
70
+ "@rollup/plugin-commonjs": "^24.0.1",
70
71
  "@rollup/plugin-json": "^6.0.0",
71
72
  "@rollup/plugin-node-resolve": "^15.0.1",
72
73
  "@rollup/plugin-replace": "^5.0.2",
73
- "@rollup/plugin-terser": "^0.2.1",
74
+ "@rollup/plugin-terser": "^0.4.0",
74
75
  "@vue/test-utils": "^1.3.3",
75
76
  "@vue/vue2-jest": "^29.2.2",
76
77
  "@zipify/colorpicker": "^2.2.1",
77
- "@zipify/eslint-config": "^1.0.0",
78
- "babel-jest": "^29.3.1",
79
- "eslint": "8.30.0",
80
- "eslint-plugin-import": "^2.26.0",
81
- "eslint-plugin-jest": "^27.1.7",
82
- "eslint-plugin-vue": "^9.8.0",
78
+ "@zipify/eslint-config": "^1.1.2",
79
+ "babel-jest": "^29.4.2",
80
+ "eslint": "8.33.0",
81
+ "eslint-plugin-import": "^2.27.5",
82
+ "eslint-plugin-jest": "^27.2.1",
83
+ "eslint-plugin-vue": "^9.9.0",
83
84
  "gzipper": "^7.2.0",
84
- "husky": "^8.0.2",
85
- "jest": "^29.3.1",
86
- "jest-environment-jsdom": "^29.3.1",
87
- "lint-staged": "^13.1.0",
85
+ "husky": "^8.0.3",
86
+ "jest": "^29.4.2",
87
+ "jest-environment-jsdom": "^29.4.2",
88
+ "lint-staged": "^13.1.1",
88
89
  "postcss-html": "^1.5.0",
89
90
  "release-it": "^15.6.0",
90
- "rollup": "^3.9.0",
91
- "stylelint": "^14.16.0",
91
+ "rollup": "^3.14.0",
92
+ "stylelint": "^14.16.1",
92
93
  "svgo": "^3.0.2",
93
- "vite": "^4.0.3",
94
+ "vite": "^4.1.1",
94
95
  "vite-plugin-vue2": "^2.0.3",
95
96
  "vue": "^2.7.14",
96
97
  "vue-template-compiler": "^2.7.14"