Cool, good work. By the way you can also use document.insertXml(location, xml), it might be more convenient for you to construct the whole blob of xml including the text in one go and insert it all at once. Depends on your needs.
Dan Στις 4 Ιουλίου 2011 8:05 μ.μ., ο χρήστης Anton Starcev <[email protected]> έγραψε: > On Mon, Jul 4, 2011 at 13:41, Thomas Broyer <[email protected]> wrote: >> You have to add 1 to move after the <caption> start >> tag. > > worked as I expected: > document.insertText(range.getStart() + 2, "Some text"); > > It remains to deal with the methods of Point. > > Thanks to all for help >
