Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe a bug. If you switch the editor to read-only mode after initialization, an error appears: System.Exception: Cannot read property 'holder' of undefined
System.Exception: Cannot read property 'holder' of undefined
togglePreviewVisibility(visible: boolean) { this._editor.readOnly.toggle(visible); // this._editor.blocks.getBlocksCount() === 0 this.previewVisible = visible; }
Editor.js version: 2.22.0
The text was updated successfully, but these errors were encountered:
Describe a bug.
If you switch the editor to read-only mode after initialization, an error appears:
System.Exception: Cannot read property 'holder' of undefinedEditor.js version: 2.22.0
The text was updated successfully, but these errors were encountered: