Browse Source

Added data-cke attribute to style selector.

Kamil Piechaczek 5 years ago
parent
commit
f68e644789
1 changed files with 4 additions and 1 deletions
  1. 4 1
      packages/ckeditor5-build-decoupled-document/webpack.config.js

+ 4 - 1
packages/ckeditor5-build-decoupled-document/webpack.config.js

@@ -69,7 +69,10 @@ module.exports = {
 					{
 						loader: 'style-loader',
 						options: {
-							injectType: 'singletonStyleTag'
+							injectType: 'singletonStyleTag',
+							attributes: {
+								'data-cke': true
+							}
 						}
 					},
 					{