@@ -29,6 +29,7 @@ const getStyle = (style: TextStyleType) => {
29
29
font-size : ${ style . textSize } !important ;
30
30
font-weight : ${ style . textWeight } !important ;
31
31
font-family : ${ style . fontFamily } !important ;
32
+ font-style : ${ style . fontStyle } !important ;
32
33
background-color : ${ style . background } ;
33
34
.markdown-body a {
34
35
color : ${ style . links } ;
@@ -111,7 +112,7 @@ const VerticalAlignmentOptions = [
111
112
] as const ;
112
113
113
114
114
- let TextTmpComp = ( function ( ) {
115
+ let TextTmpComp = ( function ( ) {
115
116
116
117
const childrenMap = {
117
118
text : stringExposingStateControl (
@@ -123,7 +124,7 @@ let TextTmpComp = (function () {
123
124
horizontalAlignment : alignWithJustifyControl ( ) ,
124
125
verticalAlignment : dropdownControl ( VerticalAlignmentOptions , "center" ) ,
125
126
style : styleControl ( TextStyle ) ,
126
- margin : MarginControl ,
127
+ margin : MarginControl ,
127
128
padding : PaddingControl ,
128
129
} ;
129
130
return new UICompBuilder ( childrenMap , ( props ) => {
@@ -145,7 +146,7 @@ let TextTmpComp = (function () {
145
146
. setPropertyViewFn ( ( children ) => {
146
147
return (
147
148
< >
148
-
149
+
149
150
< Section name = { sectionNames . basic } >
150
151
{ children . type . propertyView ( {
151
152
label : trans ( "value" ) ,
@@ -160,7 +161,7 @@ let TextTmpComp = (function () {
160
161
{ hiddenPropertyView ( children ) }
161
162
</ Section >
162
163
) }
163
-
164
+
164
165
{ [ "layout" , "both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
165
166
< >
166
167
< Section name = { sectionNames . layout } >
0 commit comments