.textfield-container{
    position: absolute;
    border: 1px solid #000;
    /*    box-shadow: 2px 2px 5px #d3d6da;*/
    background-color: #fff;
    /**/
    float:left;
    min-height:25px;
}
.textfield-container.scale1-5 {
    border-width:1.5px;
    transform-origin:left;
    transform:scale(0.66666666) translateY(-25%);
}
.textfield-container.scale1-25 {
    border-width: 1.5px;
    transform-origin: left;
    transform: scale(0.8) translateY(-25%);
    margin-top: 2px;
    margin-left: -1px;
}
.textfield-container.autowidth {
    width:auto!important;
}

.textfield-container .textfield-editor-body{
    background-color: #fff;
    white-space:nowrap;
}

.textfield-editor-body .textfield-body-container p{
    margin:0;
    padding:0;
    line-height:1;
}
.textfield-editor-body .textfield-body-container{
    border:0;
    outline:none;
    cursor:text;
    overflow:auto;
    display:block;
    word-wrap:break-word;
    /*20170824 16 to 14 */
    font-size:14px;
    font-family:Arial;/*Times new roman; */
    /*下面是定制样式*/
    width:auto!important;
}

#textEditor:empty {
    line-height: 25px;
    min-height:25px;
    overflow:hidden;
    padding:0 3px;
}

#textEditor {
    min-height:18px!important;
    min-width:30px;
    padding: 5px 4px 2px;
    /*用于解决突然字体变大导致滚动条的问题*/
    overflow:hidden;
}
#textEditor p {
}
#textEditor sub:empty , #textEditor sup:empty  {
    display:inline-block; /*之前是block*/
}

#textEditor sub , #textEditor sup {
    letter-spacing:-1px;
}

.textfield-drag {
    position: absolute;
    height: 100%;
    width: 15px;
    left: 0;
    top: 0;
    /*cursor: w-resize;*/
    margin-left:100%;
    /*暂时隐藏*/
    /*display:none;*/
}
.textfield-drag-point {
    width: 6px;background: #000;height: 6px;position: absolute;left: 0;top: calc(50% - 3px);
}