@ctzhian/tiptap 1.12.2 → 1.12.4

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.
@@ -38,10 +38,10 @@ var EditorFontSize = function EditorFontSize(_ref) {
38
38
  var headingLevel = headingAttrs.level;
39
39
  switch (headingLevel) {
40
40
  case 1:
41
- fontSize = '30';
41
+ fontSize = '26';
42
42
  break;
43
43
  case 2:
44
- fontSize = '24';
44
+ fontSize = '22';
45
45
  break;
46
46
  case 3:
47
47
  fontSize = '20';
package/dist/index.css CHANGED
@@ -71,6 +71,7 @@
71
71
  margin: 8px 0;
72
72
  line-height: var(--common-row-line-height);
73
73
  color: var(--mui-palette-text-tertiary);
74
+ background-color: var(--mui-palette-background-paper3);
74
75
  }
75
76
 
76
77
  .tiptap.ProseMirror blockquote::after {
@@ -63,6 +63,7 @@ declare const light: {
63
63
  paper: string;
64
64
  paper2: string;
65
65
  paper3: string;
66
+ footer: string;
66
67
  };
67
68
  shadows: string;
68
69
  table: {
@@ -62,7 +62,8 @@ var light = {
62
62
  default: '#FFFFFF',
63
63
  paper: '#FFFFFF',
64
64
  paper2: '#F1F2F8',
65
- paper3: '#F8F9FA'
65
+ paper3: '#F8F9FA',
66
+ footer: '#14141B'
66
67
  },
67
68
  shadows: 'rgba(68, 80 ,91, 0.1)',
68
69
  table: {
@@ -70,6 +70,7 @@ export default function themePalette(color: ThemeColor, mode: Omit<ThemeMode, 's
70
70
  paper: string;
71
71
  paper2: string;
72
72
  paper3: string;
73
+ footer: string;
73
74
  };
74
75
  table: {
75
76
  head: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzhian/tiptap",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
4
4
  "description": "基于 Tiptap 二次开发的编辑器组件",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",