List Info

Thread: WYSIWYG Editfor for the Admin Interface (Not TinyMCE or FCK)




WYSIWYG Editfor for the Admin Interface (Not TinyMCE or FCK)
user name
2008-01-03 06:36:08
So I just can't get this going... but really, I have no idea
what I
actually need to do to get it to work.  I need to use
InnovaStudio
Editor for about 75% of the textareas in the Django admin
site.  I am
running the newforms-admin branch updated a few hours ago. 
Now with
some editors, it is as simple as just adding a javascript
and you are
all set.  InnovaStudio doesn't have that feature... here is
the code
it requires...

<textarea id="COLUMN_NAME"
name="COLUMN_NAME" rows=4 cols=30>VALUE</
textarea>
<script>
  var oEditCOLUMN_NAME = new
InnovaEditor("oEditCOLUMN_NAME");
  oEditCOLUMN_NAME.REPLACE("COLUMN_NAME");
</script>

Anywhere where I put COLUMN_NAME just signifies that it has
to be
unique per textarea so I figured that using the column name
would be
the easiest way to go.  And by column name I mean things
like
'content' or 'article' or whatever.

If anyone could point me in the right direction / provide a
working
script I would really appreciate it.  This is one of the few
things
holding me back now from finishing up this project.

Thanks!
Eric
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )