@ctzhian/tiptap 1.12.13 → 1.12.15

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.
@@ -175,15 +175,6 @@
175
175
  margin: 20px 0;
176
176
  }
177
177
 
178
- .tiptap.ProseMirror .mark-link {
179
- line-height: 22px;
180
- vertical-align: middle;
181
- }
182
-
183
- .tiptap.ProseMirror .mark-link a {
184
- line-height: 1;
185
- }
186
-
187
178
  .tiptap.ProseMirror .mark-link a:hover {
188
179
  text-decoration: underline;
189
180
  }
@@ -39,28 +39,23 @@ var LinkViewWrapper = function LinkViewWrapper(_ref) {
39
39
  onClick: handleClick,
40
40
  style: {
41
41
  color: theme.palette.primary.main,
42
- cursor: 'pointer',
43
- display: 'inline-flex',
44
- alignItems: 'center',
45
- gap: '2px'
42
+ cursor: 'pointer'
46
43
  }
47
44
  }, /*#__PURE__*/React.createElement(Avatar, {
45
+ component: "span",
48
46
  sx: {
49
- width: '1rem',
50
- height: '1rem',
51
- alignSelf: 'center',
52
- bgcolor: '#FFFFFF'
47
+ width: '16px',
48
+ height: '16px',
49
+ bgcolor: '#FFFFFF',
50
+ display: 'inline-flex',
51
+ verticalAlign: '-0.125em',
52
+ marginRight: '2px'
53
53
  },
54
54
  src: favicon
55
55
  }, /*#__PURE__*/React.createElement(ChromeIcon, {
56
56
  sx: {
57
57
  fontSize: '1rem',
58
- cursor: 'grab',
59
- color: 'primary.main',
60
- alignSelf: 'center',
61
- ':active': {
62
- cursor: 'grabbing'
63
- }
58
+ color: 'primary.main'
64
59
  }
65
60
  })));
66
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzhian/tiptap",
3
- "version": "1.12.13",
3
+ "version": "1.12.15",
4
4
  "description": "基于 Tiptap 二次开发的编辑器组件",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",