nytimes / ice

track changes with javascript
Other
1.71k stars 194 forks source link

Formatting track changes #117

Open kuldeep-k opened 9 years ago

kuldeep-k commented 9 years ago

Hi,

I need to set track changes of formatting ( Bold, Italic etc. ) . But current plugin do not provide any feature. I forked the repository [https://github.com/kuldeep-k/ice/tree/formatting] and do some changes but they do not work when i select html already having some start/end tags like

In this case they show html in tinymce. Demo file is demo/demo.html If it can be fixed or anybody do this before?

jeevani2it commented 8 years ago

hi,

you got it ?

kuldeep-k commented 8 years ago

No, Last year I checked that no solution possible. Changing library requires lot of works and understanding. Also HTML DOM Fragment is regular bottleneck to achieve solution :(

jeevani2it commented 8 years ago

Oh. So it is not possible. The only way is to customize the core files ?

jeevani2it commented 8 years ago

what you used alternate for this ?

kuldeep-k commented 8 years ago

I tell my company to situation and obviously they did not grant me unlimited time for R&D. Also I think customize core may not work as when I tried to develop custom code I faced same HTML DOM Fragment issue. So may not possible by using HTML DOM. However using pure string / regex operations may help but that would gone out of library scope.