@@ -29,6 +29,7 @@ const getStyle = (style: TextStyleType) => {
2929 font-size : ${ style . textSize } !important ;
3030 font-weight : ${ style . textWeight } !important ;
3131 font-family : ${ style . fontFamily } !important ;
32+ font-style : ${ style . fontStyle } !important ;
3233 background-color : ${ style . background } ;
3334 .markdown-body a {
3435 color : ${ style . links } ;
@@ -111,7 +112,7 @@ const VerticalAlignmentOptions = [
111112] as const ;
112113
113114
114- let TextTmpComp = ( function ( ) {
115+ let TextTmpComp = ( function ( ) {
115116
116117 const childrenMap = {
117118 text : stringExposingStateControl (
@@ -123,7 +124,7 @@ let TextTmpComp = (function () {
123124 horizontalAlignment : alignWithJustifyControl ( ) ,
124125 verticalAlignment : dropdownControl ( VerticalAlignmentOptions , "center" ) ,
125126 style : styleControl ( TextStyle ) ,
126- margin : MarginControl ,
127+ margin : MarginControl ,
127128 padding : PaddingControl ,
128129 } ;
129130 return new UICompBuilder ( childrenMap , ( props ) => {
@@ -145,7 +146,7 @@ let TextTmpComp = (function () {
145146 . setPropertyViewFn ( ( children ) => {
146147 return (
147148 < >
148-
149+
149150 < Section name = { sectionNames . basic } >
150151 { children . type . propertyView ( {
151152 label : trans ( "value" ) ,
@@ -160,7 +161,7 @@ let TextTmpComp = (function () {
160161 { hiddenPropertyView ( children ) }
161162 </ Section >
162163 ) }
163-
164+
164165 { [ "layout" , "both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
165166 < >
166167 < Section name = { sectionNames . layout } >
0 commit comments