HTML mode for rich text content editor. Similar to the HTML editor version of the Wordpress rich text editor.
General Problem: We currently have no option to set custom attributes such as classes to HTML elements for custom styling.
Specific Use Case: This feature would allow frontend developers to easily implement language-specific code styling for code blocks embedded inside of posts, questions and articles. The default code-block formatting the rich text editor offers does not provide a way to distinguish between embedded languages.
Why we need this: This feature would allow content creators to set image sizes, add inline-styling and classes to elements inside of their content and allow for greater general customization.
For security reasons the HTML editor should probably only be enabled for administrators by default and we should be able to disable the HTML Editor for user roles and content types.