Browse Source

text_area间距

es6
windy 6 years ago
parent
commit
a7bc60fbb2
  1. 5
      demo/js/base/editor/demo.textarea_editor.js
  2. 8
      dist/base.js
  3. 8
      dist/bundle.ie.js
  4. 6
      dist/bundle.ie.min.js
  5. 8
      dist/bundle.js
  6. 4
      dist/bundle.min.js
  7. 5
      dist/demo.js
  8. 8
      dist/fineui.ie.js
  9. 6
      dist/fineui.ie.min.js
  10. 8
      dist/fineui.js
  11. 4
      dist/fineui.min.js
  12. 8
      dist/fineui_without_jquery_polyfill.js
  13. 2
      dist/utils.min.js
  14. 8
      src/base/single/editor/editor.textarea.js

5
demo/js/base/editor/demo.textarea_editor.js

@ -5,9 +5,10 @@ Demo.CodeEditor = BI.inherit(BI.Widget, {
render: function () { render: function () {
var editor = BI.createWidget({ var editor = BI.createWidget({
type: "bi.textarea_editor", type: "bi.textarea_editor",
cls: "mvc-border", cls: "bi-border",
width: 600, width: 600,
height: 400 height: 400,
watermark: "请输入内容"
}); });
editor.on(BI.TextAreaEditor.EVENT_FOCUS, function () { editor.on(BI.TextAreaEditor.EVENT_FOCUS, function () {
BI.Msg.toast("Focus"); BI.Msg.toast("Focus");

8
dist/base.js vendored

@ -8857,10 +8857,10 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive", type: "bi.adaptive",
items: [this.content] items: [this.content]
}, },
left: 0, left: 6,
right: 3, right: 6,
top: 6, top: 6,
bottom: 5 bottom: 6
}] }]
}); });
@ -8923,7 +8923,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this, element: this,
items: [{ items: [{
el: this.watermark, el: this.watermark,
left: 0, left: 6,
top: 0, top: 0,
right: 0 right: 0
}] }]

8
dist/bundle.ie.js vendored

@ -43751,10 +43751,10 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive", type: "bi.adaptive",
items: [this.content] items: [this.content]
}, },
left: 0, left: 6,
right: 3, right: 6,
top: 6, top: 6,
bottom: 5 bottom: 6
}] }]
}); });
@ -43817,7 +43817,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this, element: this,
items: [{ items: [{
el: this.watermark, el: this.watermark,
left: 0, left: 6,
top: 0, top: 0,
right: 0 right: 0
}] }]

6
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.js vendored

@ -44290,10 +44290,10 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive", type: "bi.adaptive",
items: [this.content] items: [this.content]
}, },
left: 0, left: 6,
right: 3, right: 6,
top: 6, top: 6,
bottom: 5 bottom: 6
}] }]
}); });
@ -44356,7 +44356,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this, element: this,
items: [{ items: [{
el: this.watermark, el: this.watermark,
left: 0, left: 6,
top: 0, top: 0,
right: 0 right: 0
}] }]

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/demo.js vendored

@ -745,9 +745,10 @@ BI.shortcut("demo.multifile_editor", Demo.CodeEditor);Demo.CodeEditor = BI.inher
render: function () { render: function () {
var editor = BI.createWidget({ var editor = BI.createWidget({
type: "bi.textarea_editor", type: "bi.textarea_editor",
cls: "mvc-border", cls: "bi-border",
width: 600, width: 600,
height: 400 height: 400,
watermark: "请输入内容"
}); });
editor.on(BI.TextAreaEditor.EVENT_FOCUS, function () { editor.on(BI.TextAreaEditor.EVENT_FOCUS, function () {
BI.Msg.toast("Focus"); BI.Msg.toast("Focus");

8
dist/fineui.ie.js vendored

@ -43993,10 +43993,10 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive", type: "bi.adaptive",
items: [this.content] items: [this.content]
}, },
left: 0, left: 6,
right: 3, right: 6,
top: 6, top: 6,
bottom: 5 bottom: 6
}] }]
}); });
@ -44059,7 +44059,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this, element: this,
items: [{ items: [{
el: this.watermark, el: this.watermark,
left: 0, left: 6,
top: 0, top: 0,
right: 0 right: 0
}] }]

6
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/fineui.js vendored

@ -44532,10 +44532,10 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive", type: "bi.adaptive",
items: [this.content] items: [this.content]
}, },
left: 0, left: 6,
right: 3, right: 6,
top: 6, top: 6,
bottom: 5 bottom: 6
}] }]
}); });
@ -44598,7 +44598,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this, element: this,
items: [{ items: [{
el: this.watermark, el: this.watermark,
left: 0, left: 6,
top: 0, top: 0,
right: 0 right: 0
}] }]

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/fineui_without_jquery_polyfill.js vendored

@ -32199,10 +32199,10 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive", type: "bi.adaptive",
items: [this.content] items: [this.content]
}, },
left: 0, left: 6,
right: 3, right: 6,
top: 6, top: 6,
bottom: 5 bottom: 6
}] }]
}); });
@ -32265,7 +32265,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this, element: this,
items: [{ items: [{
el: this.watermark, el: this.watermark,
left: 0, left: 6,
top: 0, top: 0,
right: 0 right: 0
}] }]

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

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

@ -30,10 +30,10 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive", type: "bi.adaptive",
items: [this.content] items: [this.content]
}, },
left: 0, left: 6,
right: 3, right: 6,
top: 6, top: 6,
bottom: 5 bottom: 6
}] }]
}); });
@ -96,7 +96,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this, element: this,
items: [{ items: [{
el: this.watermark, el: this.watermark,
left: 0, left: 6,
top: 0, top: 0,
right: 0 right: 0
}] }]

Loading…
Cancel
Save