Hi,
we are trying to replace tags with html text (which is a content control) but we get the following error:
‘The reference node is not a child of this node.’
the code we use is:
doc.Range.Replace(lookupString, “”, …...this case it is necessary to split the run. if (e.MatchOffset >...NodeType != NodeType.Run)); } // Split the last run that contains the...