src/knockout-froala.js
function (e, editor) {
        if (ko.isWriteableObservable(model)) {
            var editorValue = editor.html.get();
            var current = model();
            if (current !== editorValue) {
                model(editorValue);
            }
        }
    }
function (e, editor) {
        if (ko.isWriteableObservable(model)) {
            var editorValue = editor.html.get();
            var current = model();
            if (current !== editorValue) {
                model(editorValue);
            }
        }
    }
function ( e , editor ) { if ( ko . isWriteableObservable ( model ) ) { var editorValue = editor . html . get ( ) ; var current = model ( ) ; if ( current !== editorValue ) { model ( editorValue ) ; } } }
update underlying model whenever editor content changed
update underlying model whenever editor content changed