Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 51.7 KB
MD5: 5a69107937c52a7a2c908191ab5c8261
SHA-1: 33a2dc6337981d96dc8239c1c0f56186900bc398
SHA-256: 297c806760a8fdc5813b7b27475c512f9129ba172a06ad03094db2aa505decbf
Download zip 86.79 KB
MD5: dda91065e6d2b22378387eca0699c656
SHA-1: 7dc766038b99518150139328875c1e6d471b0df3
SHA-256: 110aae4456ea373a24198c53e5cb5efc7ed5411f33f2f4d8de750c5faff7e8c2

Release notes

Changes to 8.x-2.0-alpha2

#3022983: Removed setting module weight
#3022640: Use hook_module_implements_alter in insert_colorbox
#3022171: Use correct view mode id when building view in insert_media
#3021982: Fixed undefined index when saving text formats
#3016142: Check if css_classes config option exists per insert type
#3016125: Have insert_media overwrite insert settings
#3016119: Pass variable to render()

Notable changes of 8.x-2.0

#3005870: Prevent creating unneeded image derivatives
#3005573: Implemented Drupal.insert.Handler base prototype
#3005182: Converted config settings from strings to arrays
#3001253: Support for Media Library widget
#3000654: Optional controls to set image alignment
#3000651: Revisited text input synchronisation
#2994066: Provide interface for other modules
#2988476: Responsive Image module support
#2987683: Reimplemented Automatic insert option
#2987653: Removed binding to managed_file form element
#2987311: Allow embedding audio/video
#2976986: Made Insert extend File/Image field widgets
#2945191: Allow inserting images from file files using image styles
#2925143: Migration from D7 to D8
#2880406: Compatibility to Colorbox module
#2874665: Compatibility to Paragraphs module
#2872853: Compatibility to cropping modules
#2671116: Allow applying image captions
#1803096: Per-field template suggestions
#632240: Option to link to an image style preset

Updating from 8.x-1.x

With 8.x-2.0 containing massive improvements to 8.x-1.x, some cause incompatibility. When updating from 8.x-1.x, please consider the notes below.

#3000651: Revisited text input synchronisation

In 8.x-2.x, the concept of synchronisation (e.g. synchronising the alt field with the alt attribute) was overhauled and made flexible. But image instances already inserted will not be detected by the new mechanism resulting in no synchronisation being applied to them. In order to enable synchronisation for images already uploaded, their instances would need to be reinserted into editor and/or text areas.

#2976986: Made Insert extend File/Image field widgets

In 8.x-1.x, custom Insert widgets (FileInsert, ImageInsert) were required to be set on file/image fields. In 8.x-2.x, Insert is compatible to core file/images and widgets and compatible derivatives. (The widgets Insert shall attach to may be defined on the module configuration page.) By dropping the Insert specific widgets along with updating to 8.x-2.x, their settings will be lost and Insert widget settings need to be reapplied on the file/image widgets.

#632240: Option to link to an image style preset

The dummy image style provided in 8.x-1.x was removed. Linking images may be set in the widget settings now.

If you are making use of the automatic text format support per Insert module configuration page, you should save the text formats again that you enabled support for, since 8.x-2.x requires additional tags and attributes for running properly.

Created by: snater
Created on: 12 Jan 2019 at 17:11 UTC
Last updated: 18 Jan 2019 at 17:48 UTC
Bug fixes
Unsupported

Other releases