-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
Hide B I U buttons on iOS #526
Comments
I didn't know about that CSS rule. Thanks for digging that up. Attached patch adds it. |
@marijnh Me neither, found it buried in some Stackoverflow post, but not in the WebKit docs. At least, it works! 🙃 |
This change seems to affect the ability to make the editor read-only (at least in Chrome) with When I use the Should I start a new issue for this? |
So that it isn't enabled when editable is false. FIX: Fix a regression where `EditorView.editable.of(false)` didn't disable editing on Webkit-based browsers. Issue codemirror/dev#526
When selecting text within the editor, iOS displays an in-place toolbar, which falsely contains buttons for formatting text as bold/italic/underlined. By adding the following property to the default style, this can be oppressed. It probably happens, because CM uses
contenteditable
.Sorry, don’t have time to prepare a proper PR right now, but did not want this to get lost.
The text was updated successfully, but these errors were encountered: