Try the fastest and simplest way to install ONLYOFFICE

Tracking document text?

Integration questions/issues

Tracking document text?

Postby smithj » Fri Jan 12, 2018 7:55 pm

Is there a way to know when there has been an input inside the document editor and what that input was?
For example, if in the the word editor I typed "Q", is there some event that lets me know that "Q" was added?
The closest thing I've found was the onDocumentStateChange event, but when it fires it does not seem to display how the state actually changed.
smithj
 
Posts: 3
Joined: Fri Jan 12, 2018 7:50 pm

Re: Tracking document text?

Postby Maxim » Wed Jan 17, 2018 8:23 am

Hello smithj!
Is there a way to know when there has been an input inside the document editor and what that input was?

I think there is no way for now.
Maxim
 
Posts: 1746
Joined: Tue Oct 11, 2016 2:34 pm

Re: Tracking document text?

Postby smithj » Thu Jan 25, 2018 6:13 pm

Maxim wrote:Hello smithj!
Is there a way to know when there has been an input inside the document editor and what that input was?

I think there is no way for now.

Thank you for your reply. I see in the postgres database there's a doc_changes table with values such as "34;BgAAADEAMQA3AAEAHAABAAAAAAAAAAEAAABqAAAAAwAAAA==" that gets added every keystroke. Is this string some kind of encoding or encryption? Where might I be able to find the source of this string's generation?
smithj
 
Posts: 3
Joined: Fri Jan 12, 2018 7:50 pm


Return to API

Who is online

Users browsing this forum: No registered users and 1 guest