You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This comes from an issue using Redactor. There was a small change in Redactor 3.1.5 where it only defines MODx.loadRTE if Redactor is specifically requested/initialised. The purpose of that change was to allow the use of a different editor (like TinyMCE) globally, while using Redactor's ability to be enabled on other specific elements (like specific ContentBlocks fields).
This surfaced one/two issues with the way Formalicious initialises editors.
Formalicious does not check if MODX.loadRTE is defined before calling it for the email content field. This means the Formalicious component breaks when the editor isn't loaded for whatever reason
Formalicious doesn't seem to run the OnRichTextEditorInit event to initialise editors in a universal way. While Redactor loads itself globally, it only sets MODx.loadRTE if OnRichTextEditorInit is called.
This comes from an issue using Redactor. There was a small change in Redactor 3.1.5 where it only defines
MODx.loadRTE
if Redactor is specifically requested/initialised. The purpose of that change was to allow the use of a different editor (like TinyMCE) globally, while using Redactor's ability to be enabled on other specific elements (like specific ContentBlocks fields).This surfaced one/two issues with the way Formalicious initialises editors.
Error trace:
Suggestion:
OnRichTextEditorInit
event to initialise editors in a universal way. While Redactor loads itself globally, it only sets MODx.loadRTE ifOnRichTextEditorInit
is called.(For more details on this, see https://docs.modmore.com/en/Redactor/v3.x/Usage/Third_Party_Extras.html)
The text was updated successfully, but these errors were encountered: