Skip to content
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

Open
vstoykov opened this issue May 16, 2013 · 2 comments
Open

Source code editor must be enabled by default #40

vstoykov opened this issue May 16, 2013 · 2 comments

Comments

@vstoykov
Copy link

I think that writing templates in textarea is pain. There is two possibilities:

  1. Source Code Editor
  2. WYSIWYG Editor

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.

@sunjoomoon
Copy link

In iPad, Codemirror window is frozen, whatever window size is shown that is what you get. Can not scroll down.

@jezdez
Copy link
Member

jezdez commented Jan 30, 2014

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants