diff --git a/core/multi_line_edit_text_view.js b/core/multi_line_edit_text_view.js index 0b05747a..4ef55590 100644 --- a/core/multi_line_edit_text_view.js +++ b/core/multi_line_edit_text_view.js @@ -1023,7 +1023,12 @@ MultiLineEditTextView.prototype.getData = function() { MultiLineEditTextView.prototype.setPropertyValue = function(propName, value) { switch(propName) { - case 'mode' : this.mode = value; break; + case 'mode' : + this.mode = value; + if('preview' === value && !this.specialKeyMap.next) { + this.specialKeyMap.next = [ 'tab' ]; + } + break; case 'autoScroll' : this.autoScroll = value; break; }