8
0
Просмотр исходного кода

Docs: Use data-cke as it's used to detect CKE5 stylesheets. Closes cksource/ckeditor5-internal#226.

Piotrek Koszuliński 5 лет назад
Родитель
Сommit
3a4f65efa7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/docs/snippetadapter.js

+ 1 - 1
scripts/docs/snippetadapter.js

@@ -197,7 +197,7 @@ module.exports = function snippetAdapter( snippets, options, umbertoHelpers ) {
 				}
 
 				const cssImportsHTML = getHTMLImports( cssFiles, importPath => {
-					return `    <link rel="stylesheet" href="${ importPath }" type="text/css">`;
+					return `    <link rel="stylesheet" href="${ importPath }" type="text/css" data-cke="true">`;
 				} );
 
 				const jsImportsHTML = getHTMLImports( jsFiles, importPath => {