Hello everyone,
I need to copy the Selection (or Range) between two Bookmarks and insert it in a RichTextBox (moving in the same Document).
Between the Bookmarks can exists not only Text also images and tables. It shouldn’t change the formation of the Paragraphs or the size of the tables.
Moving at the Node-Level (by getting the ParentNode of the Selection and appendChild it to the RichTextBox) doesn’t work, because the two Bookmarks can enclose content of a Node, without enclosing the whole Parentnode.
Is there a programmatic solution to do it like in Word - I select the content between the two Bookmarks and CTRL-C, CTRL-V it in the RichTextBox-Body.
Best regards,
Jochen Fuchs