mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°7552 - Move CKEditor from to npm dependencies
This commit is contained in:
13
node_modules/ckeditor5-itop-build/build/plugins/detect-change/detect-change.plugin.d.ts
generated
vendored
Normal file
13
node_modules/ckeditor5-itop-build/build/plugins/detect-change/detect-change.plugin.d.ts
generated
vendored
Normal file
@@ -0,0 +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)[];
|
||||
}
|
||||
24
node_modules/ckeditor5-itop-build/build/plugins/detect-change/itop-data-processor.d.ts
generated
vendored
Normal file
24
node_modules/ckeditor5-itop-build/build/plugins/detect-change/itop-data-processor.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { HtmlDataProcessor, type ViewDocument, type ViewDocumentFragment } from 'ckeditor5/src/engine.js';
|
||||
export default class iTopDataProcessor extends HtmlDataProcessor {
|
||||
/**
|
||||
* HTML data processor used to process HTML if we detect changes
|
||||
* @private
|
||||
*/
|
||||
private _htmlDP;
|
||||
/**
|
||||
* Initial value of the editor, we'll return it if we don't detect any changes
|
||||
* @private
|
||||
*/
|
||||
private readonly _initialValue;
|
||||
/**
|
||||
* Transformed initial value of the editor, we'll use it to detect changes
|
||||
* @private
|
||||
*/
|
||||
private _transformedInitialValue;
|
||||
/**
|
||||
* Creates a new instance of the Markdown data processor class.
|
||||
*/
|
||||
constructor(document: ViewDocument, initialValue: string, transformedInitialValue: string);
|
||||
setTransformedInitialValue(transformedInitialValue: string): void;
|
||||
toData(viewFragment: ViewDocumentFragment): string;
|
||||
}
|
||||
Reference in New Issue
Block a user