Skip to content

Commit

Permalink
deprecate editorType
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis committed Dec 11, 2024
1 parent 9a6946c commit 3bbce89
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,15 @@ export interface IEditorFieldProps {
schema?: IProfileSchemaType;
editor?: IProfileEditorField;
showErrors?: boolean;

/**
* @deprecated
* Do not use in future code and remove from existing usages where possible.
* `editorType` is used to access globals which is breaking usage in multiple editors at once.
* For example when editing related plannings.
* */
editorType?: EDITOR_TYPE;

profile?: IPlanningContentProfile;

onChange(field: string | {[key: string]: any}, value: any): void;
Expand Down

0 comments on commit 3bbce89

Please sign in to comment.