code: def wysiwyg_editor(field_id, editor_name=None, config=None, editor_override=None):
      
  
      if not editor_name:
          editor_name = "%s_editor" % field_id
  
      ctx = {
          'field_id':     field_id,
          'editor_name':  editor_name,
          'config': config
      }
      ctx.update(get_settings(editor_override=editor_override))
  
      if editor_override is not None:
          ctx['DJANGO_WYSIWYG_FLAVOR'] = editor_override
  
      return render_to_string(
          "django_wysiwyg/%s/editor_instance.html" % ctx['DJANGO_WYSIWYG_FLAVOR'],
          ctx
      )
docs: Turn the textarea #field_id into a rich editor. If you do not specify the
      JavaScript name of the editor, it will be derived from the field_id.
  
      If you don't specify the editor_name then you'll have a JavaScript object
      named "<field_id>_editor" in the global namespace. We give you control of
      this in case you have a complex JS ctxironment.