Community
Participate
Working Groups
Currently all the DIVs for compare editor are defined in the HTML , which makes it hard for others to use it as a component.There are several use cases to consume compare editor component. 1.In 3-way compare we may want two compare editor components in an html page.By doing this , we can make it clear that which part of comparing files are changed against the common ancestor. 2.An embedded compare editor where ever a parent div is defined , just like what we did for editorContainer. 3.Customizing the compare editor in a way that the user wants(e.g. different styling )
I've made the editor as a widget like component . I've tested two compare editors .From the componentizing point of view I could render multiple compare editors inside the given parent divs(currently the divs have to be borderContainers) and all the editting and diff functions are working properly.