Browse Source

ie下textarea的whitespace会继承父级的

es6
Dailer 6 years ago
parent
commit
595a29292d
  1. 2
      src/base/single/editor/editor.textarea.js

2
src/base/single/editor/editor.textarea.js

@ -21,7 +21,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
height: "100%", height: "100%",
cls: "bi-textarea textarea-editor-content display-block" cls: "bi-textarea textarea-editor-content display-block"
}); });
this.content.element.css({resize: "none"}); this.content.element.css({resize: "none", whiteSpace: "normal"});
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: this, element: this,

Loading…
Cancel
Save