Modify styling of the `code` element so that it fits into the page better
Wagtail page editing could use some more features in editing. Here is a list of them:
- Allow
code
input in columns and other text features. It seems like thecode
feature is only available in text boxes that are their own component on a page.Code Listing
is available in column editing, but it would be nice if we could use acode
format when inputting text into columns. - Allow all types of formats in all text-content. In Icon Item List
code
, subscript and superscript isn't an available option for text - Implement a
code
block feature (Or improvecode listing
). Code listing needs to be prettier: have a white-grayish background (or at least an outline of the code box) and a scroll wheel option so that text doesn't get cut off at the edge of the screen. Example:
this is a code block. notice
how there is an
outline showing that
this is a code listing.