djangocodemirror

Rich Textarea for Django with CodeMirror and some enhancement
Download

djangocodemirror Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • David Thenon
  • Publisher web site:
  • https://github.com/sveetch/

djangocodemirror Tags


djangocodemirror Description

djangocodemirror is a Django app to embed the CodeMirror editor.It was designed to be used in sveedocuments, so it is suited for a ReStructuredText environment but CodeMirror support a large range of syntax coloration modes (PHP, Python, Ruby, Java, HTML, etc..). It is essentialy a jQuery plugin on top of CodeMirror to add some features like :- A button bar with keyboard shortcuts to use some syntax element in your text;- A maximize mode to resize the editor at full browser size;- A preview mode;- A quicksave option;- Support translations with english and french allready shipped;- Compatibility with Django CSRF.InstallSettingsIn your settings file add the app to your installed apps :INSTALLED_APPS = ( ... 'djangocodemirror', ...)And you will need to have a copy of CodeMirror in your statics directory (see Django staticfiles). The jQuery library must be called by your templates, Django-CodeMirror don't do this for you.Product's homepage


djangocodemirror Related Software