-
Notifications
You must be signed in to change notification settings - Fork 11
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
Port upstream changes #174
Conversation
Codecov Report
@@ Coverage Diff @@
## master #174 +/- ##
==========================================
+ Coverage 87.22% 87.35% +0.13%
==========================================
Files 27 27
Lines 2982 3022 +40
==========================================
+ Hits 2601 2640 +39
- Misses 381 382 +1
Continue to review full report at Codecov.
|
Please also update the readme to indicate the relevant upstream versions |
@@ -69,6 +70,10 @@ def is_leaf(self): | |||
def is_atom(self): | |||
return self.is_leaf or self.spec.get("atom") | |||
|
|||
@property | |||
def whitespace(self) -> Literal["pre", "normal"]: | |||
return self.spec.get("whitespace") or ("pre" if self.spec else "normal") |
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.
Should be self.spec.code
Upgrade
prosemirror-model to 1.81.1 (upstream-diff)
and prosemirror-transform to 1.6.0 (upstream diff)