- RichText field enhancements:
- The new built-in
tableeditor component allows users to insert a table and edit its rows and columns with a menu, just like the Lexical Playground. The Tab key moves between the cells. Tables are saved in the GitHub Flavored Markdown syntax, or as<table>elements with thehtmlformat. Addtableto theeditor_componentsoption to enable it. This effectively solves decaporg/decap-cms#36 and decaporg/decap-cms#2845. (#455) - The new built-in
hreditor component allows users to insert a horizontal rule with a toolbar button. Addhrto theeditor_componentsoption to enable it. This effectively solves decaporg/decap-cms#1378. - With the
htmlformat, the newalignbutton allows users to align paragraphs, headings, block quotes and list items to the left, center or right, or justify them. Addalignto thebuttonsoption to enable it. This effectively solves decaporg/decap-cms#1503. - With the
htmlformat, the link editor now offers an “Open in New Tab” option, which addstarget="_blank"to the link. This effectively solves decaporg/decap-cms#1403. - Custom editor components can now be registered with the new
inlinemode, which renders the control of the component’s only field, such as a select box or a date picker, right within the text, without a label or dialog. This effectively solves decaporg/decap-cms#3369. (#560)
- The new built-in
- Relational database-like features:
- The new
uniquefield option makes sure a value isn’t used in the same field of any other entry in the collection, like aUNIQUEconstraint. An entry with a duplicate value can’t be saved until the value is changed. It works with the String, Text, Number, Color, DateTime, Markdown and RichText fields, as well as the File, Image, Relation and Select fields taking a single value. This effectively solves decaporg/decap-cms#1069. - The Number field’s new
auto_incrementoption numbers new entries automatically when they’re saved, like anAUTO_INCREMENTcolumn. The number can be used in the collection’sslugtemplate, andminsets the first number. See the example for invoices. This effectively solves decaporg/decap-cms#2367.
- The new
- Bug fixes and improvements.
Full Changelog: v0.236.0...v0.237.0