obtaining rich text editor content jQuery? or python?

200 views
Skip to first unread message

soujiro0725

unread,
Jun 6, 2012, 3:56:09 AM6/6/12
to Google App Engine
Hi. I am developing a sort of Wiki, where I put a rich text editor.

The data which the rich text editor generates is of course is a form
of html, and it looks like,

<iframe ...
#document
<!DOCTYPE html PUBLIC ...>
<html xmlns=...
<head ...
<body ...
...
</html>

I believe I need to obtain the entire html part to make persistent in
datastore.

My question is how do you think I should get the value?

Certainly there are many ways but I need an efficient way.

Should I use jQuery to pass the part starting from "#document" ?
Of should I get it directly using Python?

I wonder how I can take advantage of the "#document" marker,
indicating the html content.

thanks in advance

soujiro

Barry Hunter

unread,
Jun 6, 2012, 7:56:40 AM6/6/12
to google-a...@googlegroups.com
nearly every WYSIWYG/rich text editor I have used, automatically puts
the raw html from the editor into a hidden textarea.

ie the server application, just recieves the posted form, just the
same as if it was a text area.

No need for messing with jquery.

Check the documentation for the rich text editor you are using.
> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>

soujiro0725

unread,
Jun 8, 2012, 1:08:26 AM6/8/12
to Google App Engine
thanks for your answer.
I will check it out.

soujiro
Reply all
Reply to author
Forward
0 new messages