Skip to content

Commit

Permalink
Merge pull request #502 from tinymce/feature/INT-3287
Browse files Browse the repository at this point in the history
INT-3287: Add `readonly` prop as an overridden init prop
  • Loading branch information
danoaky-tiny authored Feb 19, 2024
2 parents e2b1907 + 200439a commit dbdf516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/ts/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface IProps {
initialValue: string;
onEditorChange: (a: string, editor: TinyMCEEditor) => void;
value: string;
init: EditorOptions & { selector?: undefined; target?: undefined };
init: EditorOptions & Partial<Record<'selector' | 'target' | 'readonly', undefined>>;
tagName: string;
cloudChannel: string;
plugins: NonNullable<EditorOptions['plugins']>;
Expand Down

0 comments on commit dbdf516

Please sign in to comment.