-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
can we display placeholder only when editor.js is not in readonly mode #2495
Comments
Makes so much sense |
I have the same bug |
For time being I have implemented a workaround for it to remove empty paragraph blocks from the editor when it is in readOnly mode. Below is the function which we can pass in Editor instance to remove empty paragraphs from the editor js.
|
I have switched to a different package for my project that met my requirements better, but it seems like there is an open pr right now that would fix this issue. |
can we display editor.js placeholder only when editor.js is not in readonly mode?
Thank you.
The text was updated successfully, but these errors were encountered: