add css-class to textarea
This commit is contained in:
parent
49a120990f
commit
ddb40420cd
2 changed files with 3 additions and 2 deletions
|
|
@ -90,7 +90,7 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ace_editor > textarea {
|
.ace_text-input {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
width: 0.5em;
|
width: 0.5em;
|
||||||
|
|
@ -105,7 +105,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ace_editor > textarea.ace_composition {
|
.ace_text-input.ace_composition {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #000;
|
color: #000;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ var dom = require("../lib/dom");
|
||||||
|
|
||||||
var TextInput = function(parentNode, host) {
|
var TextInput = function(parentNode, host) {
|
||||||
var text = dom.createElement("textarea");
|
var text = dom.createElement("textarea");
|
||||||
|
text.className = "ace_text-input";
|
||||||
/*/ debug
|
/*/ debug
|
||||||
text.style.opacity = 1
|
text.style.opacity = 1
|
||||||
text.style.background = "rgba(0, 250, 0, 0.3)"
|
text.style.background = "rgba(0, 250, 0, 0.3)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue