The rich text editor can now display and edit complex content types — dates, polls, tables, graphviz diagrams, and charts — without requiring a switch back to the Markdown editor. Each of these content types now has native controls right in the right text editor.
Let’s explore each change!
Dates
Local dates now have an edit button, which you can click to open the date picker to update the date and/or time.
Polls
Poll nodes now show an edit control that reopens the poll builder pre-filled with the existing settings. The builder only edits settings (such as the poll type, results visibility, close date, etc.); the poll title and answer options can be modified directly in the editor. When you save your changes, the settings update without impacting the poll’s existing responses.
Tables
Tables now have structural editing controls: per-row and per-column menus for inserting and removing rows or columns, and drag handles for reordering. Text editing across cells works as expected without interfering with ordinary text selection.
Graphviz diagrams
For communities using the discourse-graphviz plugin, Graphviz diagrams now render inline in the rich editor alongside a node toolbar with controls to swap to the source and edit the underlying code.
Charts
For communities using the discourse-chart plugin, a chart block renders as a live preview in the editor, with a control to reveal and edit the source data rows in place.