Copy-paste formulas in markdown editor
Summary
Implement copy-paste action for formula or pieces of content that contain formula in markdown editor.
May make sense to work on this together with copy-paste action for images after https://github.com/learningequality/studio/issues/1853 is done
Current status after the new editor implementation:
formulas can get copied and pasted but the problem is they're not select-able! Notice the two following cases.
a) inline formulas between text: pressing ctrl+a to copy the whole content will result in getting the formula copied too & pasted successfully.
https://github.com/user-attachments/assets/12b0b182-5257-4571-847b-e070e4d0765d
b) copying a formula alone well, currently the only way to do that is by copying the formula as plain latex and then inserting it in the formula editor to be rendered
https://github.com/user-attachments/assets/395991d6-1142-43ef-a749-cd5fa2c0dcbd