CollaborationBinder with Custom components

I’m working on a Teacher/Student style view using CollaborationBinder. The view renders a custom component that accepts a paragraph of text and then every word is rendered in a Span. A Teacher has the ability to select a Span (word) which highlights said span and the teacher has the option to take an action (edit the word, click a button, etc) and the action needs to be reflected in the Students’ view (highlights… word changes… whatever). The custom component tracks these actions and the state of each span. Currently, the student view is not updating when the teacher highlights a word. Do I need to track some kind of event here or add a custom binder…???

If you’re using CollaborationBinder, then the highlights would have to be part of the value provided by the field component. In other words, the value isn’t just a String containing the text but actually fully metadata about what the state is. Whenever anything changes, getValue() needs to return a new value and the component needs to fire a value change event.