diff --git a/src/editor/core/draw/control/text/TextControl.ts b/src/editor/core/draw/control/text/TextControl.ts index 46941b4..ef08b3e 100644 --- a/src/editor/core/draw/control/text/TextControl.ts +++ b/src/editor/core/draw/control/text/TextControl.ts @@ -133,7 +133,7 @@ export class TextControl implements IControlInstance { .spliceElementList(elementList, startIndex + 1, endIndex - startIndex) const value = this.getValue(context) if (!value.length) { - this.control.addPlaceholder(startIndex) + this.control.addPlaceholder(startIndex, context) } return startIndex }