github sveltia/sveltia-cms v0.237.0

latest releases: v5.0.4, v5.0.3, v5.0.2...
one month ago
  • RichText field enhancements:
    • The new built-in table editor 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 the html format. Add table to the editor_components option to enable it. This effectively solves decaporg/decap-cms#36 and decaporg/decap-cms#2845. (#455)
    • The new built-in hr editor component allows users to insert a horizontal rule with a toolbar button. Add hr to the editor_components option to enable it. This effectively solves decaporg/decap-cms#1378.
    • With the html format, the new align button allows users to align paragraphs, headings, block quotes and list items to the left, center or right, or justify them. Add align to the buttons option to enable it. This effectively solves decaporg/decap-cms#1503.
    • With the html format, the link editor now offers an “Open in New Tab” option, which adds target="_blank" to the link. This effectively solves decaporg/decap-cms#1403.
    • Custom editor components can now be registered with the new inline mode, 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)
  • Relational database-like features:
    • The new unique field option makes sure a value isn’t used in the same field of any other entry in the collection, like a UNIQUE constraint. 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_increment option numbers new entries automatically when they’re saved, like an AUTO_INCREMENT column. The number can be used in the collection’s slug template, and min sets the first number. See the example for invoices. This effectively solves decaporg/decap-cms#2367.
  • Bug fixes and improvements.

Full Changelog: v0.236.0...v0.237.0

Don't miss a new sveltia-cms release

NewReleases is sending notifications on new releases.