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. On Wed, Jun 6, 2012 at 8:56 AM, soujiro0725 <[email protected]> wrote: > 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 > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
