diff --git a/projects/common/ui-elements/text/text-element.ts b/projects/common/ui-elements/text/text-element.ts index 132a0a95ad1368d6ae21cf051c04454b853ce1b0..5daece48f2488c2f61a13abe3dbb563533e08f6f 100644 --- a/projects/common/ui-elements/text/text-element.ts +++ b/projects/common/ui-elements/text/text-element.ts @@ -40,8 +40,11 @@ export class TextElement extends UIElement implements PositionedElement, FontEle this.highlightableYellow = true; this.highlightableTurquoise = true; this.highlightableOrange = true; + delete this.interaction; + delete this.highlightable; } else if (serializedElement.interaction === 'underlinable') { this.highlightableYellow = true; + delete this.interaction; } } }