@ctzhian/tiptap 2.1.9 → 2.1.11

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 'highlight.js/styles/atom-one-light.css';
1
+ @import 'highlight.js/styles/an-old-hope.css';
2
2
  @import 'katex/dist/katex.min.css';
3
3
 
4
4
  :root {
@@ -148,6 +148,8 @@ var ReadonlyCodeBlock = /*#__PURE__*/memo(function (_ref) {
148
148
  as: "code",
149
149
  className: "hljs",
150
150
  style: {
151
+ backgroundColor: 'var(--mui-palette-background-paper3)',
152
+ color: 'var(--mui-palette-text-primary)',
151
153
  padding: '3rem 1.25rem 0.75rem 1.25rem',
152
154
  fontSize: '0.875rem',
153
155
  lineHeight: '1.5',
@@ -348,6 +348,8 @@ var CodeBlockView = function CodeBlockView(props) {
348
348
  as: "code",
349
349
  className: "hljs",
350
350
  style: {
351
+ backgroundColor: 'var(--mui-palette-background-paper3)',
352
+ color: 'var(--mui-palette-text-primary)',
351
353
  padding: '3rem 1.25rem 0.75rem 1.25rem',
352
354
  fontSize: '0.875rem',
353
355
  lineHeight: '1.5',
package/dist/index.css CHANGED
@@ -146,6 +146,7 @@
146
146
  left: -24px;
147
147
  background: var(--mui-palette-primary-main);
148
148
  border-radius: 50%;
149
+ box-sizing: initial;
149
150
  }
150
151
 
151
152
  .tiptap.ProseMirror ul:not([data-type='taskList']) ul {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzhian/tiptap",
3
- "version": "2.1.9",
3
+ "version": "2.1.11",
4
4
  "description": "基于 Tiptap 二次开发的编辑器组件",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",