installPaintSnapshotCopy
installPaintSnapshotCopy(
document): () =>void
Makes copying a page selection that runs through emitted snapshot roots or editors keep their line breaks. Snapshot and editor rows are absolutely positioned, so the browser’s own copy joins their lines. Editors install this themselves; call it for pages that show snapshots alone. The returned function removes this installation.
Parameters
Section titled “Parameters”document
Section titled “document”Document
Returns
Section titled “Returns”() => void