@ckeditor/ckeditor5-code-block 47.7.1 → 47.7.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/codeblockcommand.js +1 -1
package/dist/index.js
CHANGED
|
@@ -377,7 +377,7 @@ import { IconCodeBlock } from '@ckeditor/ckeditor5-icons/dist/index.js';
|
|
|
377
377
|
schema.removeDisallowedAttributes([
|
|
378
378
|
block
|
|
379
379
|
], writer);
|
|
380
|
-
// Remove children of the `codeBlock` element that are not allowed. See
|
|
380
|
+
// Remove children of the `codeBlock` element that are not allowed. See https://github.com/ckeditor/ckeditor5/issues/9567.
|
|
381
381
|
Array.from(block.getChildren()).filter((child)=>!schema.checkChild(block, child)).forEach((child)=>writer.remove(child));
|
|
382
382
|
}
|
|
383
383
|
allowedBlocks.reverse().forEach((currentBlock, i)=>{
|