@ctzhian/tiptap 1.10.1 → 1.10.3

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.
@@ -45,7 +45,7 @@ export var getExtensions = function getExtensions(_ref) {
45
45
  color: 'var(--mui-palette-primary-main)',
46
46
  width: 2
47
47
  }
48
- }), Subscript, Superscript, TextStyleKit, CodeExtension, ListExtension, EmojiExtension, DetailsExtension, InlineLinkExtension, DetailsContentExtension, DetailsSummaryExtension, CodeBlockLowlightExtension, YamlFormat, CustomHorizontalRule].concat(_toConsumableArray(TableExtension({
48
+ }), Subscript, Superscript, TextStyleKit, CodeExtension, ListExtension, EmojiExtension, DetailsExtension, InlineLinkExtension, DetailsContentExtension, DetailsSummaryExtension, CodeBlockLowlightExtension, InlineUploadProgressExtension, YamlFormat, CustomHorizontalRule].concat(_toConsumableArray(TableExtension({
49
49
  editable: editable
50
50
  })), [TableOfContents({
51
51
  onTocUpdate: onTocUpdate
@@ -106,7 +106,7 @@ export var getExtensions = function getExtensions(_ref) {
106
106
  }
107
107
  }));
108
108
  } else {
109
- defaultExtensions.push.apply(defaultExtensions, [AlertExtension, BlockLinkExtension, InlineUploadProgressExtension, IframeExtension({
109
+ defaultExtensions.push.apply(defaultExtensions, [AlertExtension, BlockLinkExtension, IframeExtension({
110
110
  onError: onError,
111
111
  onValidateUrl: onValidateUrl
112
112
  }), VideoExtension({
package/dist/index.css CHANGED
@@ -191,11 +191,10 @@
191
191
  }
192
192
 
193
193
  .tiptap.ProseMirror pre[data-type="yaml-frontmatter"] {
194
- padding: 8px 16px;
195
194
  margin-bottom: 20px;
196
195
  border-radius: var(--mui-shape-borderRadius);
197
- color: var(--mui-palette-text-primary);
198
- background-color: var(--mui-palette-background-paper3);
196
+ color: var(--mui-palette-text-disabled);
197
+ background-color: transparent;
199
198
  }
200
199
 
201
200
  .tiptap.ProseMirror code {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzhian/tiptap",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "description": "基于 Tiptap 二次开发的编辑器组件",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",