I am working on a custom module conversion following the Divi 5 tutorial. After creating a module in Divi 4 and switching to Divi 5 to run the migration, the module still displays the "Backwards Compatibility Mode Enabled" notification, even though the fields and rendering appear to be working.
Symptoms
- The module is created in Divi 4 and migrated to Divi 5.
- In Divi 5, the fields (including the custom
dharmil_title) appear correctly and the module renders.
- However, the "Backwards Compatibility Mode Enabled" banner remains visible on the module, and it seems to be treated as a legacy component instead of a fully native Divi 5 block.
Configuration Details
- D4 Shortcode:
dtmc_dharmil_module
- D5 Block Name:
dtmc/dharmil-module
module.json: d4Shortcode is set to dtmc_dharmil_module.
conversion-outline.js: Mappings are defined for all fields.
Steps to Reproduce
- Install the conversion plugin.
- Create a page in Divi 4 and add the "Dharmil Module".
- Fill in the fields, including the custom
dharmil_title.
- Switch to Divi 5 and run the migration.
- Check the module in the builder: the fields are present, but the "Backwards Compatibility Mode" message is still showing.
Expected Behavior
Once the migration is run and the fields are mapped to the native Divi 5 attributes, the "Backwards Compatibility Mode" should be disabled, and the module should be recognized as a native Divi 5 block.
Reference Repository
Full source code available here: https://gitlab.com/dharmil_gmits/divi-5.git
I am working on a custom module conversion following the Divi 5 tutorial. After creating a module in Divi 4 and switching to Divi 5 to run the migration, the module still displays the "Backwards Compatibility Mode Enabled" notification, even though the fields and rendering appear to be working.
Symptoms
dharmil_title) appear correctly and the module renders.Configuration Details
dtmc_dharmil_moduledtmc/dharmil-modulemodule.json:d4Shortcodeis set todtmc_dharmil_module.conversion-outline.js: Mappings are defined for all fields.Steps to Reproduce
dharmil_title.Expected Behavior
Once the migration is run and the fields are mapped to the native Divi 5 attributes, the "Backwards Compatibility Mode" should be disabled, and the module should be recognized as a native Divi 5 block.
Reference Repository
Full source code available here: https://gitlab.com/dharmil_gmits/divi-5.git