Email configuration helper
While configuring an email editor looks like a demanding task, the email configuration helper plugin is the best way to start and make this experience more manageable.
Look at the logs below to see the configuration problems.
CKEditor 5 Newsletter |
---|
Dear Team Members, As we move through the first quarter of 2025, we're excited to share our latest achievements and upcoming initiatives. Your dedication continues to drive our success, and we're proud of the milestones we've reached together. |
|
Join our community and benefit from the best editing solutions! |
CKEditor 5 - The rich text editor for every use case |
The logs displayed below come from DevTools and show problems encountered by the editor during configuration validation. These issues may cause emails to be displayed incorrectly in various email clients.
After installing the editor, add the feature to your plugin list and toolbar configuration:
import { ClassicEditor } from 'ckeditor5';
import { EmailConfigurationHelper } from 'ckeditor5-premium-features';
ClassicEditor
.create( document.querySelector( '#editor' ), {
licenseKey: '<YOUR_LICENSE_KEY>',
plugins: [ EmailConfigurationHelper, /* ... */ ],
link: {
// Configuration.
}
} )
.then( /* ... */ )
.catch( /* ... */ );
To use this premium feature, you need to activate it with proper credentials. Refer to the License key and activation guide for details.
The EmailConfigurationConfig
property lets you suppress warnings or log messages about email client compatibility.
ClassicEditor
.create( editorElement, {
email: {
logs: {
suppressAll: false,
suppress: [
'email-configuration-unsupported-reversed-list',
'email-configuration-unsupported-list-style-type',
// ... other message codes
]
}
}
} )
The EmailConfigurationHelper
plugin registers the following components:
- The
EmailConfigurationHelper
component. - The
EmailConfigurationConfig
property.
We recommend using the official CKEditor 5 inspector for development and debugging. It will give you tons of useful information about the state of the editor such as internal data structures, selection, commands, and many more.