Browse Source

ie下textarea的whitespace会继承父级的

master
Dailer 7 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%",
cls: "bi-textarea textarea-editor-content display-block"
});
this.content.element.css({resize: "none"});
this.content.element.css({resize: "none", whiteSpace: "normal"});
BI.createWidget({
type: "bi.absolute",
element: this,

Loading…
Cancel
Save