ubyssey.ca icon indicating copy to clipboard operation
ubyssey.ca copied to clipboard

Feature request: Draftail Strikethrough

Open keeganland opened this issue 2 years ago • 3 comments

Our editors would like to be able to do strikethroughs in the Rich Text editors in Wagtail.

Wagtail implements its Rich Text editor using Draftail. Plugins etc. can be added to Draftail, which is itself based on Draft.JS. The following documentation exists for writing or installing extensions to Draftail:

https://docs.wagtail.org/en/stable/extending/extending_draftail.html

Mention of enabling Draftail strikethrough on this page:

https://www.draftail.org/docs/formatting-options

It seems it should not be difficult to flip a few switches to get it enabled, we just need to read this documentation to see explicitly which ones

keeganland avatar May 18 '22 20:05 keeganland

move to a later date and lower priority

brittkhat avatar Nov 18 '22 22:11 brittkhat

Can I take up this issue?

FireBoyAJ24 avatar Nov 22 '22 05:11 FireBoyAJ24

I have made a new branch called the "strikethrough-rich-feature". I only added a wagtail_hooks.py file with my current rich text bar: image

I am struggling to move the strikethrough button to the left side of the rich text bar. An idea is to completely remove the rich text bar and then append each button in a specific order.

FireBoyAJ24 avatar Nov 27 '22 06:11 FireBoyAJ24

Editorial Request to also add/bundle in left, right and center justify text options in the rich html text block through draftail

brittkhat avatar Mar 10 '23 23:03 brittkhat