We have the gtk webkit_web_view_set_editable api to make the web view editable. But there is no api to get the modified content. I am attaching a patch to enable extraction of HTML from the document.
Created attachment 32251 [details] implements webkit_web_frame_get_html
(In reply to comment #1) > Created an attachment (id=32251) [details] > implements webkit_web_frame_get_html Hi! Where is this used and why is it in webkitprivate.h?h
I have put it in webkitprivate.h since it is similar in function to webkit_web_frame_get_inner_text which is also in webkitprivate.h. Also, webkitprivate was the only header that I found had extern "C" - and I needed this api for my C based project.
(In reply to comment #3) > I have put it in webkitprivate.h since it is similar in function to > webkit_web_frame_get_inner_text which is also in webkitprivate.h. > > Also, webkitprivate was the only header that I found had extern "C" - and I > needed this api for my C based project. Ok. I think you might want to put this in webkitwebframe.h for it to be an API. webkitprivate.h is currently being used for SPIs, which atm only DRT being the consumer.
Created attachment 32269 [details] moved the content to webkitwebframe.* ok. i have moved the code to webkitwebframe.h
Created attachment 32270 [details] implements webkit_web_frame_get_html fixed the comment
I believe the data source API has provided a solution to this problem.