Skip to content

Commit

Permalink
32413: Page Editor: adding a link to a section turns text colour black
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Oct 10, 2024
1 parent 111a28b commit b7b00d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/Style/Content/classes/class.ilObjStyleSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ public function writeCSSFile(
fwrite($css_file, ",html.il-no-tiny-bg body#tinymce.ilc_text_block_" . $tag[0]["class"] . "\n");
}
if ($tag[0]["type"] == "section") { // sections can use a tags, if links are used
fwrite($css_file, ",a.ilc_" . $tag[0]["type"] . "_" . $tag[0]["class"] . "\n");
fwrite($css_file, ",div a.ilc_" . $tag[0]["type"] . "_" . $tag[0]["class"] . "\n");
}
if ($tag[0]["type"] == "text_block") {
fwrite($css_file, ",html.il-no-tiny-bg body#tinymce.ilc_text_block_" . $tag[0]["class"] . "\n");
Expand Down

0 comments on commit b7b00d2

Please sign in to comment.