Remove dependencies on included layout and style option plugins from Mercury Editor

Created on 3 August 2023, over 1 year ago
Updated 7 September 2023, over 1 year ago

Developers / site owners should be able to uninstall Mercury Editor without any consequences to their website other than loosing the specific authoring experience enhancements offered by the module. Currently, layout and style options included in the module create hard dependencies that would prevent the module from being removed once content has been created.

Next steps:

Important Note about Breaking Changes:

This issue introduces breaking changes by removing all layout and style option plugins from the Mercury Editor module. For websites using Mercury Editor layout and style option plugins, developers will need to either (a) create their own alternative plugins to replace the Mercury Editor ones, or (b) download the following Drupal modules from GitHub for legacy support:

Finding references to layout plugins that have been removed:

Use this simple query to find references to outdated layout plugins:

select id, parent_id, parent_type from paragraphs_item_field_data where behavior_settings REGEXP '"layout_onecolumn"|"layout_twocolumn_halves"|"layout_twocolumn_onethird_twothirds"|"layout_twocolumn_twothirds_onethird"|"layout_threecolumn_thirds"|"layout_threecolumn_half_quarter_quarter"|"layout_threecolumn_quarter_half_quarter"|"layout_threecolumn_quarter_quarter_half"|"layout_fourcolumn"';

Finding references to style option plugins that have been removed:

select id, parent_id, parent_type from paragraphs_item_field_data where behavior_settings REGEXP '"display_mode"|"image_style"|"property"|"template_suggestion"';

πŸ“Œ Task
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States justin2pin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024