File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -331,15 +331,13 @@ export function buildForInput(options) {
331
331
contextmenu : false ,
332
332
toolbar : 'bold italic link bullist numlist' ,
333
333
content_style : getContentStyle ( options ) ,
334
- color_map : colorMap ,
335
334
file_picker_types : 'file' ,
336
335
file_picker_callback : filePickerCallback ,
337
336
init_instance_callback ( editor ) {
338
337
const head = editor . getDoc ( ) . querySelector ( 'head' ) ;
339
338
head . innerHTML += fetchCustomHeadContent ( ) ;
340
- } ,
341
- setup ( editor ) {
342
- //
339
+
340
+ editor . contentDocument . documentElement . classList . toggle ( 'dark-mode' , options . darkMode ) ;
343
341
} ,
344
342
} ;
345
343
}
Original file line number Diff line number Diff line change @@ -408,6 +408,7 @@ input[type=color] {
408
408
409
409
.description-input > .tox-tinymce {
410
410
border : 1px solid #DDD !important ;
411
+ @include lightDark (border-color , #DDD !important , #000 !important );
411
412
border-radius : 3px ;
412
413
.tox-toolbar__primary {
413
414
justify-content : end ;
Original file line number Diff line number Diff line change 39
39
</div >
40
40
41
41
<div class =" form-group collapsible" component =" collapsible" id =" template-control" >
42
- <button refs =" collapsible@trigger" type =" button" class =" collapse-title text-primary " aria-expanded =" false" >
42
+ <button refs =" collapsible@trigger" type =" button" class =" collapse-title text-link " aria-expanded =" false" >
43
43
<label for =" template-manager" >{{ trans (' entities.books_default_template' ) } } </label >
44
44
</button >
45
45
<div refs =" collapsible@content" class =" collapse-content" >
You can’t perform that action at this time.
0 commit comments