diff --git a/app/editor/index.tsx b/app/editor/index.tsx index 9b803369f..aaf7a3a22 100644 --- a/app/editor/index.tsx +++ b/app/editor/index.tsx @@ -469,6 +469,9 @@ export class Editor extends React.PureComponent< blur: this.handleEditorBlur, focus: this.handleEditorFocus, }, + attributes: { + translate: this.props.readOnly ? "yes" : "no", + }, state: this.createState(this.props.value), editable: () => !this.props.readOnly, nodeViews: this.nodeViews,