Just setup my django project to use tinyMCE (version 3.3.9.2).
Everything works fine except the emotion plugin (smily faces). When a
smily is inserted, tinyMCE insert an image using relative paths. An
example is shown here,

<img title="Cool" src="../../static_media//tiny_mce/plugins/emotions/
img/smiley-cool.gif" border="0" alt="Cool" />

The problem is this relative path cannot be recognised by django when
viewing the content submitted by tinyMCE. I could change the
javascript in tinyMCE to use {{ MEDIA_URL }} for generating image
path. However the image won't be displayed while editing because the
content are dynamically inserted and are not rendered by django yet.

Are there other solutions for this problem.

Thanks!
Fei

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to