diff --git a/packages/client/src/styles/globals.scss b/packages/client/src/styles/globals.scss index 0638c01c..08554c4d 100644 --- a/packages/client/src/styles/globals.scss +++ b/packages/client/src/styles/globals.scss @@ -27,7 +27,7 @@ .Resizer { z-index: 1; - opacity: .2; + opacity: 0.2; box-sizing: border-box; background-clip: padding; } @@ -89,3 +89,13 @@ .semi-button-disabled { pointer-events: none; } + +.semi-select-selection-text { + font-size: 1em; + font-weight: normal; + + > * { + font-size: inherit !important; + font-weight: inherit; + } +} diff --git a/packages/client/src/tiptap/menus/heading/index.tsx b/packages/client/src/tiptap/menus/heading/index.tsx index e9b4b42d..ef0a4e73 100644 --- a/packages/client/src/tiptap/menus/heading/index.tsx +++ b/packages/client/src/tiptap/menus/heading/index.tsx @@ -30,12 +30,24 @@ export const Heading: React.FC<{ editor: Editor }> = ({ editor }) => { style={{ width: 90, marginRight: 10 }} > 正文 - 标题1 - 标题2 - 标题3 - 标题4 - 标题5 - 标题6 + +

标题1

+
+ +

标题2

+
+ +

标题3

+
+ +

标题4

+
+ +
标题5
+
+ +
标题6
+
); };