Skip to content

Fix themes in code blocks in content editor

Himanshu Kapoor requested to merge 360261-content-editor-code-blocks-themes into master

What does this MR do and why?

Fixes themes in code block in the content editor

Screenshots or screen recordings

White Dark Solarized Light
image image image
Solarized Dark Monokai None
image image image

How to set up and validate locally

  1. Switch to a different theme in preferences.
  2. Open any wiki page. Click "edit rich text" to open content editor
  3. Insert a code block
  4. Notices that the theme applies to code blocks in content editor. (including the none theme)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #360261 (closed)

Edited by Himanshu Kapoor

Merge request reports