littlepea / django-editor

Allows pluggable WYSIWYG editors in django admin without hard dependencies
3 stars 2 forks source link

Add explicit DJANGO_EDITOR setting #1

Open littlepea opened 11 years ago

littlepea commented 11 years ago

use django-editor with explicit settings (for installed app detection) with the following options:

  1. DJANGO_EDITOR='imperavi'
  2. DJANGO_EDITOR='tinymce'
  3. DJANGO_EDITOR=None
  4. DJANGO_EDITOR='something_else' (future extensibility/forkability)

In any case it should work such that not setting an editor will not break, regardless of what is installed. Hence, having imperavi as a default when installed, having tinymce as default when imperavi's not available and having a simple textfield when both are unavailable.

dokterbob commented 11 years ago

Will try to implement this feature some time soon - currently testing django-editor with some of our internal tooling.

dokterbob commented 11 years ago

Actually, turns out imperavi has turned into redactorjs, which has a very divergent set of Django packages. Moreover, [django-imperavi]() seems to be in an undead state.

Perhaps we should have some sensible defaults in the configuration but then also allow people to override specific details. Will show you want a I mean some time soon, in code.