paramander / contentful-rich-text-vue-renderer

Render Contentful Rich Text field using Vue
https://www.npmjs.com/package/contentful-rich-text-vue-renderer
MIT License
38 stars 12 forks source link

Added missing marks #53

Closed KeyboardRage closed 1 year ago

KeyboardRage commented 1 year ago

Creates handling of super- and sub-script markings. If sup/sub are used in the Rich Editor in Contentful, it'll crash the entire render 😕

KeyboardRage commented 1 year ago

Not quite sure how to set up the test for Asset though, since it can be any type of file.

Furthermore I haven't yet had time to figure out how it resolves the asset information from the document, it seems all it provides is the asset ID.

tolgap commented 1 year ago

@KeyboardRage released as v3.1.0! I also added a constraint for @contentful/rich-text-types: ^15.14.1 where the SUB and SUPER marks were introduced.