List Info

Thread: Rich text editor with code snippets




Rich text editor with code snippets
user name
2006-07-25 20:29:10
Hi Folks,

I'm wondering which rich text editors people are using in
their apps,
and if any of them (that have been successfully integrated
into the
admin app) have the capability to display code snippets.

Basically, what I'm looking for is a code block to render
in fixed
width font and with all spaces/line breaks/tabs preserved.
You know
what I mean.

I'm using Tiny MCE but haven't found a way to do this.
Feel free to
knock me over the head if this is simply a case of using
some <pre>
tags and then putting the appropriate style sheets. I'm not
enough of a
CSS wizard to know if that's the way I should be
approaching this.

Thanks, Tom


--~--~---------~--~----~------------~-------~--~----~
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 http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Rich text editor with code snippets
user name
2006-07-26 14:19:51
Maybe one of these might help:

http://lazutkin.com/blog/2005/aug/26/using_tiny
mce_djangos_admin/
h
ttp://code.djangoproject.com/wiki/AddWYSIWYGEditor
http://www.socialistsoftware.com/post/django-and-tinymc
e/

Chris


--~--~---------~--~----~------------~-------~--~----~
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 http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Rich text editor with code snippets
user name
2006-07-28 16:10:17
Thanks. Added in the extra Tiny MCE options (like the full
screen one),
and it works pretty well just using the <pre> tags.


--~--~---------~--~----~------------~-------~--~----~
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 http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-3]

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