• Robert Knight's avatar
    Fix formatting changes made via toolbar buttons not persisting · 3e084ccb
    Robert Knight authored
    When making formatting changes to the text of an annotation with the
    toolbar button without subsequently making a manual edit before clicking
    Preview or Save, the onEditText() callback was never triggered and so
    the unsaved changes were reverted when exiting edit mode.
    
    This happened because onEditText() was only fired in response to the
    'input' event which only occurs in response to programmatic, not manual
    changes to the input's value.
    
    Fixes #147
    3e084ccb
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
h Loading commit data...
images Loading commit data...
scripts Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...