@ctzhian/tiptap 1.6.7 → 1.6.8

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.
@@ -228,6 +228,7 @@ var ImageViewWrapper = function ImageViewWrapper(_ref) {
228
228
  component: 'span',
229
229
  sx: {
230
230
  position: 'relative',
231
+ display: 'inline-block',
231
232
  border: '1px solid',
232
233
  borderColor: 'divider',
233
234
  borderRadius: 'var(--mui-shape-borderRadius)',
@@ -9,6 +9,7 @@ import { ReactNodeViewRenderer } from "@tiptap/react";
9
9
  import ImageViewWrapper from "../component/Image";
10
10
  var customImage = function customImage(props) {
11
11
  return Image.extend({
12
+ marks: '',
12
13
  addKeyboardShortcuts: function addKeyboardShortcuts() {
13
14
  var _this = this;
14
15
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzhian/tiptap",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "description": "基于 Tiptap 二次开发的编辑器组件",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",