CK5 code block languages are not configurable

Created on 22 March 2023, over 1 year ago
Updated 23 March 2023, over 1 year ago

Currently there is no way to configure the list of languages within CK5's "code block" dropdown.

The behavior of this dropdown is that it will add a language-xxx CSS class to the <code> tag.

There's also another issue where if I edit source and I inject my own CSS class (lets say language-yml), CKEditor will prepend its default CSS class (language-plaintext), which breaks any syntax highlighting 😔

📌 Task
Status

Closed: duplicate

Version

10.1 ✨

Component
CKEditor 5  →

Last updated 29 minutes ago

Created by

🇺🇸United States mherchel Gainesville, FL, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024