The extraCSS setting of InputfieldTinyMCE is being overwritten by this hook InputfieldTinyMCESettings::prepareSettingsForOutput from the Konkat Theme.
This is a regression introduced by processwire/processwire@a3bdb86.
Two observations:
I’m not sure to understand how this whole thing works but I wonder if there could be another way to set the color-scheme? Or ensure the js configuration doesn’t completely overwrite content_style but instead append to it? Or maybe it’s something else entirely...
The
extraCSSsetting of InputfieldTinyMCE is being overwritten by this hookInputfieldTinyMCESettings::prepareSettingsForOutputfrom the Konkat Theme.This is a regression introduced by processwire/processwire@a3bdb86.
Two observations:
InputfieldTinyMCESettings.php#L742,$diffSettingsdoesn’t have the defaultcontent_styleproperty and thus Konkat Theme adds its own in the hook to set the color-scheme which results in the missingextraCSSset in the module settings (because the js configuration ends up taking priority over the default one)content_styleis unset from$mergeSettingsto not appear in thedata-settingsattribute, but it is set again by the same hook atInputfieldTinyMCESettings.phpL#794I’m not sure to understand how this whole thing works but I wonder if there could be another way to set the color-scheme? Or ensure the js configuration doesn’t completely overwrite
content_stylebut instead append to it? Or maybe it’s something else entirely...