-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Source code editor must be enabled by default #40
Comments
In iPad, Codemirror window is frozen, whatever window size is shown that is what you get. Can not scroll down. |
@sunjoomoon Maybe it's time to upgrade codemirror. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that writing templates in textarea is pain. There is two possibilities:
Using rich text editor can cause many problems and you will not have control over the code. The best solution is source code editor. The only one JavaScript code editor supported by dbtemplates is CodeMirror. We can enable it by default. If some people doesn't use static files we can modify documentation how to make it to work without staticfiles app or how to disable it if they don't want it.
@jezdez has some concerns about usefulness of CodeMirror. If anybody has issues with it can share it and we can see if it is possible (and easy) to fix. If this CodeMirror has too many problems another one can be chosen. Suggestions are welcome.
The text was updated successfully, but these errors were encountered: