import { Text } from "https://deno.land/x/automerge@2.2.2/stable.ts";
Returns the content of the Text object as a sequence of strings, interleaved with non-character elements.
For example, the value ['a', 'b', {x: 3}, 'c', 'd']
has spans:
=> ['ab', {x: 3}, 'cd']