Changeset 669
- Timestamp:
- 06/14/10 21:16:18 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wymeditor/jquery.wymeditor.js
r668 r669 1142 1142 */ 1143 1143 WYMeditor.editor.prototype.update = function() { 1144 1145 var html = this.xhtml(); 1146 jQuery(this._element).val(html); 1147 jQuery(this._box).find(this._options.htmlValSelector).not('.hasfocus').val(html); //#147 1144 var html; 1145 1146 // Dirty fix to remove stray line breaks (#189) 1147 jQuery(this._doc.body).children(WYMeditor.BR).remove(); 1148 1149 html = this.xhtml(); 1150 jQuery(this._element).val(html); 1151 jQuery(this._box).find(this._options.htmlValSelector).not('.hasfocus').val(html); //#147 1148 1152 }; 1149 1153
Note: See TracChangeset
for help on using the changeset viewer.