The “Remove inline styles” setting now also applies to tags.Added craft\redactor\Field::EVENT_MODIFY_PURIFIER_CONFIG, which makes it possible to modify the HTML Purifier config at runtime.Added craft\redactor\events\ModifyPurifierConfigEvent.Added the “Show unpermitted files” setting, which determines whether the field should show files that the user doesn’t have permission to view per the “View files uploaded by other users” permission.Added the “Show unpermitted volumes” setting, which determines whether the field should show volumes that the user doesn’t have permission to view (disabled by default for new fields enabled by default for existing fields).Added support for Redactor’s buttonsAddFirst, buttonsAddBefore, buttonsAddAfter, and buttonsAdd config settings.Fixed a bug where Redactor would sometimes re-focus the editor, causing the page to jump.Fixed a bug where the default Redactor config would not include image and link buttons.Redactor now requires Craft 3.5 or later.They will be sanitized with SVG Sanitizer instead. It’s now possible to include SVG images within field values, without them being removed by HTML Purifier.Redactor now only displays elements that have URIs when linking to an element.Redactor now automatically opens the “Edit image” modal after inserting a single image.Redactor fields now store fallback URLs on reference tag values, to be used if the linked element is no longer available.Added craft\redactor\Field::EVENT_DEFINE_REDACTOR_CONFIG, which makes it possible to modify the Redactor config at runtime.Added support for including query strings in linked element URLs.Added the “All entries” source to entry selection modals.Added support for the linkNewTab Redactor config setting.It’s now possible to create a Default.json Redactor config, which will be used by default, or if the specified config file is missing.It’s now possible to define the Redactor config on a per-field basis.Added a field setting that determines whether non-admin users should be allowed to edit the field HTML.Added the “Default transform” setting, which can be used to set a default transform that should be applied to images.It’s now possible to change the transforms of selected assets.Fixed a bug where translation messages weren’t getting registered for JavaScript properly.Fixed a bug where inline styles within tables weren’t getting removed.Fixed a bug where inserting a link into a large Redactor field would cause the browser to jump to the top of the field.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |