mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°5298 - Merge work from 9bf0addc9c with changes from the WIP CKEditor build repo
This commit is contained in:
16
js/ckeditor/build/plugins/append-itop-classes/append-itop-classes.plugin.d.ts
vendored
Normal file
16
js/ckeditor/build/plugins/append-itop-classes/append-itop-classes.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* AppendITopClasses Plugin.
|
||||
*
|
||||
* Appends ibo-is-html-content class
|
||||
*/
|
||||
export default class AppendITopClasses extends Plugin {
|
||||
constructor(editor: any);
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
15
js/ckeditor/build/plugins/detect-change/detect-change.plugin.d.ts
vendored
Normal file
15
js/ckeditor/build/plugins/detect-change/detect-change.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
||||
/**
|
||||
* DetectChanges Plugin.
|
||||
*
|
||||
*/
|
||||
export default class DetectChanges extends Plugin {
|
||||
constructor(editor: Editor);
|
||||
init(): void;
|
||||
static get pluginName(): string;
|
||||
}
|
||||
24
js/ckeditor/build/plugins/detect-change/itop-data-processor.d.ts
vendored
Normal file
24
js/ckeditor/build/plugins/detect-change/itop-data-processor.d.ts
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;
|
||||
}
|
||||
8
js/ckeditor/build/plugins/insert-html/insert-html.command.d.ts
vendored
Normal file
8
js/ckeditor/build/plugins/insert-html/insert-html.command.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Command } from 'ckeditor5/src/core';
|
||||
/**
|
||||
* InsertHtmlCommand Command.
|
||||
*
|
||||
*/
|
||||
export default class InsertHtmlCommand extends Command {
|
||||
execute(sContent: string): void;
|
||||
}
|
||||
9
js/ckeditor/build/plugins/insert-html/insert-html.plugin.d.ts
vendored
Normal file
9
js/ckeditor/build/plugins/insert-html/insert-html.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* InsertHtml Plugin.
|
||||
*
|
||||
*/
|
||||
export default class InsertHtml extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
10
js/ckeditor/build/plugins/keyboard-shortcut/keyboard-shortcut.plugin.d.ts
vendored
Normal file
10
js/ckeditor/build/plugins/keyboard-shortcut/keyboard-shortcut.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* KeyboardShortcut Plugin.
|
||||
*
|
||||
* - Dispatch submit event on the closest editor form when Ctrl+Enter pressed
|
||||
*/
|
||||
export default class KeyboardShortcut extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
10
js/ckeditor/build/plugins/mentions-markup/mentions-markup.plugin.d.ts
vendored
Normal file
10
js/ckeditor/build/plugins/mentions-markup/mentions-markup.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* MentionsMarkup Plugin.
|
||||
*
|
||||
* - Converter for mentions
|
||||
*/
|
||||
export default class MentionsMarkup extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
@@ -1,3 +1,8 @@
|
||||
/*
|
||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
import { Plugin } from '@ckeditor/ckeditor5-core';
|
||||
import { ContextualBalloon } from '@ckeditor/ckeditor5-ui';
|
||||
import FormView from './object-shortcut.form-view';
|
||||
|
||||
10
js/ckeditor/build/plugins/trigger_update_on_ready/trigger_update_on_ready.plugin.d.ts
vendored
Normal file
10
js/ckeditor/build/plugins/trigger_update_on_ready/trigger_update_on_ready.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* TriggerUpdateOnReady Plugin.
|
||||
*
|
||||
* - Trigger update event when editor is ready
|
||||
*/
|
||||
export default class TriggerUpdateOnReady extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user