@@ -91,25 +91,25 @@ const RichTextEditor = forwardRef(function RichTextEditor(props: RichTextEditorP
9191 skin : 'oxide-dark' , // or 'oxide' for light theme
9292 // ...other TinyMCE config...
9393 content_style : `
94- body {
95- font-family: ${ theme . typography . fontFamily } ;
96- font-size: ${ theme . typography . fontSize } px;
97- color: ${ theme . palette . text . primary } ;
98- background: ${ theme . palette . background . paper } ;
94+ body {
95+ font-family: ${ theme . typography . fontFamily } ;
96+ font-size: ${ theme . typography . fontSize } px;
97+ color: ${ theme . palette . text . primary } ;
98+ background: ${ theme . palette . background . paper } ;
99+ }
100+ a { color: ${ theme . palette . primary . main } ; }
101+ h1, h2, h3, h4, h5, h6 { color: ${ theme . palette . text . primary } ; font-family: ${ theme . typography . fontFamily } ; }
102+ blockquote { color: ${ theme . palette . text . secondary } ; border-left: 4px solid ${ theme . palette . primary . light } ; padding-left: 8px; }
103+ ul, ol { color: ${ theme . palette . text . primary } ; }
104+ input, textarea, select {
105+ background: ${ theme . palette . background . paper } ;
106+ color: ${ theme . palette . text . primary } ;
107+ border: 1px solid ${ theme . palette . divider } ;
108+ border-radius: 4px;
109+ padding: 6px 10px;
110+ font-size: 1em;
111+ font-family: inherit;
99112 }
100- a { color: ${ theme . palette . primary . main } ; }
101- h1, h2, h3, h4, h5, h6 { color: ${ theme . palette . text . primary } ; font-family: ${ theme . typography . fontFamily } ; }
102- blockquote { color: ${ theme . palette . text . secondary } ; border-left: 4px solid ${ theme . palette . primary . light } ; padding-left: 8px; }
103- ul, ol { color: ${ theme . palette . text . primary } ; }
104- input, textarea, select {
105- background: ${ theme . palette . background . paper } ;
106- color: ${ theme . palette . text . primary } ;
107- border: 1px solid ${ theme . palette . divider } ;
108- border-radius: 4px;
109- padding: 6px 10px;
110- font-size: 1em;
111- font-family: inherit;
112- }
113113 /* Add more styles as needed */
114114 ` ,
115115 placeholder,
0 commit comments