I believe SimpleRichTextBlock and SimpleRichTextField have been broken for a long time. Indeed, despite defining a small set of available elements, with Wagtail prior 1.12, the toolbar shows some additional elements:
7 make just make it work™, but given the confusing behaviour (see above) and that there is no tests, I woulnd't feel too confident upgrading the package on a production website which is using either SimpleRichTextBlock or SimpleRichTextField.
It looks like the expected behaviour was:
Restrict the list of features to: paragraphs, bold, italic, unordered lists, ordered lists, links and document links
I believe
SimpleRichTextBlock
andSimpleRichTextField
have been broken for a long time. Indeed, despite defining a small set of available elements, with Wagtail prior 1.12, the toolbar shows some additional elements:In addition, it is now outdated:
Draftail
as a default editor7 make just make it work™, but given the confusing behaviour (see above) and that there is no tests, I woulnd't feel too confident upgrading the package on a production website which is using either
SimpleRichTextBlock
orSimpleRichTextField
.It looks like the expected behaviour was:
Assuming we were update it to use the Draftail editor:
features