• Robert Knight's avatar
    Use data-in, events-out pattern for <markdown> component · 6328298e
    Robert Knight authored
    This simplifies the implementation of the <markdown> component slightly,
    and makes its inputs more consistent with other recently written components.
    
     - Replace use of 'ngModel' with 'text' input property and 'onEditText'
       output event.
    
     - Add tests for preview state.
    
     - Add tests for rendering and editing annotations that have no text.
    
     - Optimize editor initialization by not creating the toolbar's DOM
       elements until the user starts editing the annotation, via using
       ng-if rather than ng-show to hide the toolbar in view mode.
    6328298e
Name
Last commit
Last update
..
annotation-test.js Loading commit data...
excerpt-overflow-monitor-test.js Loading commit data...
excerpt-test.js Loading commit data...
form-input-test.coffee Loading commit data...
form-validate-test.coffee Loading commit data...
group-list-test.js Loading commit data...
markdown-test.js Loading commit data...
publish-annotation-btn-test.js Loading commit data...
search-status-bar-test.js Loading commit data...
share-dialog-test.coffee Loading commit data...
sidebar-tutorial-test.js Loading commit data...
simple-search-test.coffee Loading commit data...
sort-dropdown-test.js Loading commit data...
spinner-test.js Loading commit data...
status-button-test.coffee Loading commit data...
thread-test.coffee Loading commit data...
util.js Loading commit data...
window-scroll-test.js Loading commit data...