AcceptAllChanges and JS

3 messages Options
Embed this post
Permalink
Matt Levine

AcceptAllChanges and JS

Reply Threaded More More options
Print post
Permalink
Can you use JS to call  track changes AcceptAllChanges?
Adrian Sutton

Re: AcceptAllChanges and JS

Reply Threaded More More options
Print post
Permalink
On 29/08/2009 00:44, "Matt Levine" <[hidden email]> wrote:
> Can you use JS to call  track changes AcceptAllChanges?

Yes, but it's actually done by just stripping out all the track changes data
- the end result is the document as it would be with all changes accepted.

http://liveworks.ephox.com/hints-tips/accepting-all-changes-with-javascript

We also have instructions for doing that with XSLT:
http://liveworks.ephox.com/hints-tips/accepting-all-changes-with-xslt

and on detecting the presence of unaccepted changes:
http://liveworks.ephox.com/hints-tips/detecting-track-changes-markup-in-docu
ments

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: AcceptAllChanges and JS

Reply Threaded More More options
Print post
Permalink
Great! I will check those info out. Thank you all very much!

--- On Tue, 9/1/09, Adrian Sutton <[hidden email]> wrote:

From: Adrian Sutton <[hidden email]>
Subject: Re: [Liveworks] AcceptAllChanges and JS
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 4:57 AM

On 29/08/2009 00:44, "Matt Levine" <[hidden email]> wrote:
> Can you use JS to call  track changes AcceptAllChanges?

Yes, but it's actually done by just stripping out all the track changes data
- the end result is the document as it would be with all changes accepted.

http://liveworks.ephox.com/hints-tips/accepting-all-changes-with-javascript

We also have instructions for doing that with XSLT:
http://liveworks.ephox.com/hints-tips/accepting-all-changes-with-xslt

and on detecting the presence of unaccepted changes:
http://liveworks.ephox.com/hints-tips/detecting-track-changes-markup-in-docu
ments

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/