|
@@ -885,6 +885,7 @@ export default class TextField extends Base {
|
|
|
textContainer = createElement(
|
|
|
'textarea',
|
|
|
{
|
|
|
+ position: 'absolute',
|
|
|
width: '100%',
|
|
|
height: '100%',
|
|
|
outline: 'none',
|
|
@@ -894,6 +895,7 @@ export default class TextField extends Base {
|
|
|
pointerEvents: 'none',
|
|
|
cursor: 'pointer',
|
|
|
resize: 'none',
|
|
|
+ overflowWrap: 'break-word',
|
|
|
textAlign: this.annotation.textAlignment,
|
|
|
fontSize: this.annotation.fontSize + 'px',
|
|
|
fontWeight: this.annotation.isBold ? 'bold' : 'normal',
|
|
@@ -906,6 +908,7 @@ export default class TextField extends Base {
|
|
|
textContainer = createElement(
|
|
|
'input',
|
|
|
{
|
|
|
+ position: 'absolute',
|
|
|
width: '100%',
|
|
|
height: '100%',
|
|
|
outline: 'none',
|