You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As CodeFlask run on elements programmatically, there is no "easy way" to determine when a element will turn into a code editor without JavaScript enabled.
That being said, I think there should be a CSS class such as .CodeFlask__is-code that would make the code a little bit more readable in case JavaScript doesn't run. But this class would have to be added manually on the desired element.
A simple solution would be to add white-space: pre; to the .code-editor class (.code-window .code-editor in the css file). This way the line breaks will be shown even when JavaScript is disabled.
Without JavaScript enabled, the code snippets are fairly unreadable. Screenshot attached.
The text was updated successfully, but these errors were encountered: