Skip to content

Commit dbdf516

Browse files
authored
Merge pull request #502 from tinymce/feature/INT-3287
INT-3287: Add `readonly` prop as an overridden init prop
2 parents e2b1907 + 200439a commit dbdf516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ts/components/Editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface IProps {
1515
initialValue: string;
1616
onEditorChange: (a: string, editor: TinyMCEEditor) => void;
1717
value: string;
18-
init: EditorOptions & { selector?: undefined; target?: undefined };
18+
init: EditorOptions & Partial<Record<'selector' | 'target' | 'readonly', undefined>>;
1919
tagName: string;
2020
cloudChannel: string;
2121
plugins: NonNullable<EditorOptions['plugins']>;

0 commit comments

Comments
 (0)