-
Notifications
You must be signed in to change notification settings - Fork 14
Added missing marks #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added two missing mark types
Added missing Super and Sub-script marks
Created additional tests for the Super- and Sub-script marks
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KeyboardRage The MARKS.SUPERSCRIPT
and MARKS.SUBSCRIPT
changes are great! Thank you for taking the time.
Could you please remove the addition of BLOCKS.EMBEDDED_ASSET
from this PR, and perhaps open another PR for it? We can then discuss the implementation of this block separately 🙂.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you @KeyboardRage. I'll release this soon.
@KeyboardRage released as |
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 😕