mirror of
https://github.com/Combodo/iTop.git
synced 2026-06-11 18:32:22 +02:00
* N°9128 - Update CKEditor5 to v48 * Move some CSS vars to ckeditor, align variable overload in portal and backoffice * Add specifics to 3.2 portal * Update CKEditor5 build files * Update scssphp with patched version that handles pseudo selectors and attribute selectors * Update scssphp patched version to fix missing $this * Fix translations specific language file import * Remove unused maximize parameters * Update CKEditor5 build files * Fix font size/color for 3.2 portal * Avoid CKEditor styles from bleeding into fields
25 lines
908 B
TypeScript
25 lines
908 B
TypeScript
import { HtmlDataProcessor, type ViewDocument, type ViewDocumentFragment } from '@ckeditor/ckeditor5-engine';
|
|
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;
|
|
}
|