curvenote / prosemirror-docx

Export a prosemirror document to a Microsoft Word file, using docx.
MIT License
96 stars 13 forks source link

superscript is not handled correctly #7

Closed kozborn closed 2 years ago

kozborn commented 2 years ago

After exporting to word I noticed that superscript are treated like subscript and I guess it is because of this line

https://github.com/curvenote/prosemirror-docx/blob/6975bd1c6edc5a80d07a9d6953c5a5818bd03ab7/src/schema.ts#L103

rowanc1 commented 2 years ago

Quite right!

Fixed in 782d7d6267d2ed46977f873613f7adc3a427efa8

rowanc1 commented 2 years ago

And deployed as 0.0.9