Skip to content

5.14.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 05 Nov 12:34
· 4 commits to master since this release

Included commits: 5.13.1...5.14.0

Improvements

  • Introduced RichTextEditorType form type with the toolbar and editor_config options and the TOOLBAR_ITEM_* and SUPPORTED_TOOLBAR_ITEMS constants to edit Back Office HTML fields with a Tiptap-based rich-text editor.
  • Introduced the window.SprykerRichTextEditor registry with registerFeature(), registerVideoProvider(), getEditor(), whenReady(), readHtml() and writeHtml() so modules can extend and access rich-text fields.
  • Added the rich_text_editor_labels and rich_text_editor_templates blocks to layout.twig with the RichTextEditor/labels.twig and RichTextEditor/dialog-templates.twig templates, so editor labels are translated and dialog markup can be overridden.

Deprecations

  • Deprecated Summernote fields (textarea.html-editor), the data-editor-config attribute and window.editorConfiguration editor configurations in favor of RichTextEditorType and window.SprykerRichTextEditor.registerFeature().

Adjustments

  • Added @tiptap/* and @codemirror/* dependencies, and replaced the --bs-* custom property overrides in _variables.scss with the --ins-* theme properties.