@ones-editor/editor 2.9.8-beta.47 → 2.9.8-beta.48
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.
|
@@ -465,6 +465,7 @@ export interface OnesEditorOptionalOptions {
|
|
|
465
465
|
enableResolveComments?: boolean;
|
|
466
466
|
enableContextMenu?: boolean;
|
|
467
467
|
settingsProvider?: OnesEditorSettingsProvider;
|
|
468
|
+
dateTimeFormatter?: (v: Date, source?: string) => string;
|
|
468
469
|
}
|
|
469
470
|
export interface OnesEditorOptions {
|
|
470
471
|
colors: string[];
|
|
@@ -475,6 +476,7 @@ export interface OnesEditorOptions {
|
|
|
475
476
|
enableResolveComments?: boolean;
|
|
476
477
|
enableContextMenu?: boolean;
|
|
477
478
|
scrollContainer?: HTMLElement;
|
|
479
|
+
dateTimeFormatter?: (v: Date, source?: string) => string;
|
|
478
480
|
}
|
|
479
481
|
export interface OnesEditorComponents {
|
|
480
482
|
blocks?: Block[];
|