修复codemirror暗黑模式文本选中颜色

This commit is contained in:
whyour
2021-03-23 15:53:03 +08:00
parent 51b0418fa9
commit a4f06413a3
7 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ const Crontab = () => {
styleActiveLine: true,
matchBrackets: true,
mode: 'shell',
theme: 'dracula',
theme: 'icecoder',
readOnly: 'nocursor',
}}
onBeforeChange={(editor, data, value) => {
+1 -1
View File
@@ -81,7 +81,7 @@ const Config = () => {
styleActiveLine: true,
matchBrackets: true,
mode: 'shell',
theme: 'dracula',
theme: 'icecoder',
}}
onBeforeChange={(editor, data, value) => {
setValue(value);
+1 -1
View File
@@ -80,7 +80,7 @@ const Crontab = () => {
styleActiveLine: true,
matchBrackets: true,
mode: 'shell',
theme: 'dracula',
theme: 'icecoder',
}}
onBeforeChange={(editor, data, value) => {
setValue(value);
+1 -1
View File
@@ -80,7 +80,7 @@ const Crontab = () => {
styleActiveLine: true,
matchBrackets: true,
mode: 'shell',
theme: 'dracula',
theme: 'icecoder',
}}
onBeforeChange={(editor, data, value) => {
setValue(value);
+1 -1
View File
@@ -108,7 +108,7 @@ const Log = () => {
styleActiveLine: true,
matchBrackets: true,
mode: 'shell',
theme: 'dracula',
theme: 'icecoder',
readOnly: 'nocursor',
}}
onBeforeChange={(editor, data, value) => {