MCPcopy Index your code
hub / github.com/ether/etherpad / copyAText

Function copyAText

src/static/js/Changeset.ts:1085–1088  ·  view source on GitHub ↗
(atext1: AText, atext2: AText)

Source from the content-addressed store, hash-verified

1083 * @param {AText} atext2 -
1084 */
1085export const copyAText = (atext1: AText, atext2: AText) => {
1086 atext2.text = atext1.text;
1087 atext2.attribs = atext1.attribs;
1088};
1089
1090/**
1091 * Convert AText to a series of operations. Strips final newline.

Callers 1

appendRevisionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected