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
I think that writing templates in textarea is pain. There is two possibilities:
Source Code Editor
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.
The text was updated successfully, but these errors were encountered:
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: