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) {
331331 contextmenu : false ,
332332 toolbar : 'bold italic link bullist numlist' ,
333333 content_style : getContentStyle ( options ) ,
334- color_map : colorMap ,
335334 file_picker_types : 'file' ,
336335 file_picker_callback : filePickerCallback ,
337336 init_instance_callback ( editor ) {
338337 const head = editor . getDoc ( ) . querySelector ( 'head' ) ;
339338 head . innerHTML += fetchCustomHeadContent ( ) ;
340- } ,
341- setup ( editor ) {
342- //
339+
340+ editor . contentDocument . documentElement . classList . toggle ( 'dark-mode' , options . darkMode ) ;
343341 } ,
344342 } ;
345343}
Original file line number Diff line number Diff line change @@ -408,6 +408,7 @@ input[type=color] {
408408
409409.description-input > .tox-tinymce {
410410 border : 1px solid #DDD !important ;
411+ @include lightDark (border-color , #DDD !important , #000 !important );
411412 border-radius : 3px ;
412413 .tox-toolbar__primary {
413414 justify-content : end ;
Original file line number Diff line number Diff line change 3939</div >
4040
4141<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" >
4343 <label for =" template-manager" >{{ trans (' entities.books_default_template' ) } } </label >
4444 </button >
4545 <div refs =" collapsible@content" class =" collapse-content" >
You can’t perform that action at this time.
0 commit comments