Fix CKEditor change detector being misled by insert carriage plugin

This commit is contained in:
Stephen Abello
2024-07-17 14:53:13 +02:00
parent 23651ae510
commit f239b658e6
5 changed files with 40 additions and 9 deletions

View File

@@ -1,10 +1,13 @@
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
import InsertCarriageReturnAfterBlock from "../insert-carriage-return-after-block/insert-carriage-return-after-block.plugin";
/**
* DetectChanges Plugin.
*
*/
export default class DetectChanges extends Plugin {
private readonly _processor;
constructor(editor: Editor);
init(): void;
static get pluginName(): string;
static get requires(): (typeof InsertCarriageReturnAfterBlock)[];
}