Other: The inline `style` element which is being produced by Webpack and delivers styles for the editor will have the `[data-cke="true"]` attribute in order to help find CKEditor 5 styles. See ckeditor/ckeditor5#6454.
@@ -69,7 +69,10 @@ module.exports = {
{
loader: 'style-loader',
options: {
- injectType: 'singletonStyleTag'
+ injectType: 'singletonStyleTag',
+ attributes: {
+ 'data-cke': true
+ }
}
},