At the moment, prosemirror-math relies on the default copy/paste behavior of ProseMirror, which simply calls textBetween on the current selection when copying. Since the $ symbols are just visual decorations in the editor, they don't appear as part of the text itself, and so will not appear when pasting from prosemirror-math into a plaintext editor.
At the moment,
prosemirror-math
relies on the default copy/paste behavior of ProseMirror, which simply callstextBetween
on the current selection when copying. Since the$
symbols are just visual decorations in the editor, they don't appear as part of the text itself, and so will not appear when pasting fromprosemirror-math
into a plaintext editor.