File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export class LineHeadingExtension extends HeadingExtension {
17
17
createNodeSpec ( extra : ApplySchemaAttributes , override : NodeSpecOverride ) : NodeExtensionSpec {
18
18
return {
19
19
...super . createNodeSpec ( extra , override ) ,
20
- content : 'text*' , // Disallow hard breaks in headings
21
20
}
22
21
}
23
22
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ export const WysiwygThemeWrapper = styled.div.attrs<WarpperProps>((p) => ({
102
102
Consolas,
103
103
Liberation Mono,
104
104
monospace;
105
- line-height: 10px;
106
105
color: ${ ( props ) => props . theme . kbdFontColor } ;
107
106
vertical-align: middle;
108
107
background-color: ${ ( props ) => props . theme . kbdBgColor } ;
@@ -736,10 +735,12 @@ export const WysiwygThemeWrapper = styled.div.attrs<WarpperProps>((p) => ({
736
735
max-width: 400px;
737
736
border-radius: 0.2em;
738
737
background-color: ${ ( props ) => props . theme . bgColor } ;
738
+ line-height: normal;
739
739
z-index: 1;
740
740
}
741
741
742
742
.inline-html-render {
743
+ line-height: normal;
743
744
}
744
745
745
746
.html-node {
You can’t perform that action at this time.
0 commit comments