Draftail editor

While working on the “Pages” section, we added rich-text editing capabilities in Dashboard 2.0 by integrating Draftail editor. We chose Draftail because it works well with React and is built and maintained by the team behind Wagtail — one of the most popular CMS platforms written in Python/Django. As opposed to MediumEditor in Dashboard 1.0, Draftail outputs content in JSON instead of HTML. For that reason, we had to extend some of the models with additional JSON fields. Draftail is now available to use as an editor for the descriptions of products, collections and categories, as well as content on static pages.

Draftail editor in Saleor

Note: Rendering JSON content isn’t supported in both storefronts yet and will be added in future releases. We recommend sticking to Dashboard 1.0 and the previous MediumEditor for rich-text editing for now.

Translations API