New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during installation – TypeError with ksort #15
Comments
The redactor plugin would be installed automatically, it's used to write html emails. |
@ryssbowh Thanks for the quick resolution! I'll give that a shot later today. Given that Redactor will reach its end of life in six months and Craft now recommends CKEditor, are there plans to switch to CKEditor for this plugin? Or maybe support different WYSIWYG fields, or even just have an option to only use plain-text fields? |
@ryssbowh The fix works, thanks! I can now install the plugin normally, though as you said, I can't create any emails without having at least one Redactor config. I'm closing this issue as the error is resolved. That said, having the plugin work with other WYSIWYG editors or fallback to plaintext would be a great addition. |
Any word on this? |
Yes CKEditor will be supported, will probably make it up to the user to select which whey want to use and disable the html fields if none is selected |
CKEditor support is out in 2.1.0 and 1.5.0. |
Describe the bug
I'm getting an error when trying to install the plugin in a development environment. This error occurs after all the migrations have run successfully:
Relevant logs entry:
I could be wrong, but looks like it's coming from the
Settings
model?https://github.com/ryssbowh/craft-emails/blob/master/src/models/Settings.php#L49
We don't have Redactor installed, so
$options
will benull
there.To Reproduce
Software:
The text was updated successfully, but these errors were encountered: