• Hi Anders! Love your themes!

    If you set custom colors in Chaplin, all other PRE blocks pick up the text color in the editor, but CODE does not.

    This becomes an issue on dark color choices in the editor.

    That is the only bug I have found in the theme.

    Thank you for such wonderful work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @stevenjaycohen,

    Glad you like them!

    The code element should inherit the text color from parent elements, since the element itself doesn’t have any color set. By default, that would be the “Primary Text Color” set in the Customizer. If the code element is in a group (or any other container block) with a text color set, it would inherit the text color of that group. It works fine in my local testing.

    Could you post a link to a page where you’re seeing the issue with the text color?

    — Anders

    Thread Starter Steven Jay Cohen

    (@stevenjaycohen)

    The issue is only within the editor. It renders perfectly on the published site.

    Two Blocks – First Verse (working), then Code (not working)

    What I wrote was “Testing Verse” (in a Verse Block) then “Testing Code” (in a Code Block). The text in the Editor UI is where the issue is. If I publish the page, both blocks would display perfectly on the public facing website.

    Since this is only a back end issue, I don’t have a link that shows the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CODE BLOCK not picking up Editor Color’ is closed to new replies.