add flowElement inside existing Text Flow
Hi,
I have a problem with adding textFlow element inside textFlow in a position which i want which is editor.selectionAnchorPosition
I used simply addchild method but it add my new flow element at the end of the textflow, and addChildAt is not working as it suppose to work 😕😕
var p:ParagraphElement = new ParagraphElement();
var img:InlineGraphicElement = new InlineGraphicElement();
img.source = "assets/images/Image1.png";
img.height = 9;
img.width = 9;
p.addChild(img);
editor.textFlow.addChild(p);
is there any solution to insert flowElement in a place where selectionAnchorPosition is ?
Message was edited by: Othil
