WYSIWYG Editfor for the Admin Interface (Not TinyMCE or FCK)
4 views
Skip to first unread message
FrostedDark
unread,
Jan 3, 2008, 7:36:08 AM1/3/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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
FrostedDark
unread,
Jan 5, 2008, 6:06:32 AM1/5/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message