Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Support more formats in wagtail RichText editor

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Support more formats in wagtail RichText editor

A short presentation given as a lightning talk in Wagtail Space Arnhem, 2019. It was based on my first contribution to the wagtail codebase. Adding support for few more formats in the rich text editor.

Avatar for Md Arifin Ibne Matin

Md Arifin Ibne Matin

March 15, 2019

More Decks by Md Arifin Ibne Matin

Other Decks in Technology

Transcript

  1. • Problem solver, Programmer
 • Python Developer at
 • Foodie

    and Hobbyist Cook.
 Arifin Ibne Matin Hi, I’m,
  2. Issue #4562 • Draftail have few features that we didn’t

    implemented in wagtail editor by default. ( i.e, `blockquote`, `strikethrough`). • Requires writing custom rich-text features.
  3. PR #5141 • Add support for more rich text formats


    
 1. `blockquote`
 2. `superscript`
 3. `subscript`
 4. `strikethrough`
 5. `code` • Disabled by default
  4. PR #5141 • We now can add them in the

    custom features list
 
 RichTextField(features=[
 'h2', 'blockquote','striketrough',
 'superscript', 'subscript', 'code'
 ])