When testing the img URL functionality in the Custom Area of the World Homepage, it was necessary to switch to the Euclid Editor. However, after finishing the BBCode editing and switching back to the Visual Editor, the following error occurred:
Cannot read properties of undefined (reading 'direction')
After this error, the World Homepage editor could no longer be opened.
The detailed error report is as follows:
TypeError: Cannot read properties of undefined (reading 'direction') at cme.generateUrlContent (https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/vendor-wysiswyg-DFoclVq3:238:16986) at cme.genContent (https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/vendor-wysiswyg-DFoclVq3:238:14073) at cme.spawnBlockWithContent (https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/vendor-wysiswyg-DFoclVq3:238:9810) at cme.parse (https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/vendor-wysiswyg-DFoclVq3:238:5788) at https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/vendor-wysiswyg-DFoclVq3:239:9405 at Array.forEach (<anonymous>) at https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/vendor-wysiswyg-DFoclVq3:239:9372 at Array.forEach (<anonymous>) at dme.produceBlocks (https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/vendor-wysiswyg-DFoclVq3:239:9255) at https://wa-js-cdn.nyc3.cdn.digitaloceanspaces.com/assets/prodromos/alchemist/assets/index-DjOUdvgy:303:225556
① Switch the World Homepage Text Editor from the default Visual Editor to Euclid.
② Enter the following BBCode into the Custom Area of the World Homepage:
※the same BBCode tested successfull on other article pages↓
③ Preview the page in World Preview, where the output appears to work correctly.
④ Switch the Homepage Text Editor from Euclid back to Visual.
⑤ The error occurs at this point.
① Before switching the Text Editor back to Visual, I had recently toggled ENABLED / DISABLED states for:
② Earlier, I may have switched the Bootstrap version in World Settings from 3 to 5, but I am not sure whether it was switched back afterward.
After the bug occurred, I checked again and the Bootstrap version was shown as 3.
Comments and updates to this report