-
Notifications
You must be signed in to change notification settings - Fork 14
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
XML and Text formatting support #184
Merged
Merged
Commits on Oct 11, 2024
-
Add bindings to XMLFragment, XMLElement, XMLText, and XMLEvent. Allows reading and writing of XML fragments from the document, which rich text editors use heavily. Closes jupyter-server#151
Configuration menu - View commit details
-
Copy full SHA for f85190f - Browse repository at this point
Copy the full SHA f85190fView commit details
Commits on Oct 18, 2024
-
Add support for formatting and embeds in Text
Rich text editors often store their markup in attributes and embeds.
Configuration menu - View commit details
-
Copy full SHA for c360dbb - Browse repository at this point
Copy the full SHA c360dbbView commit details -
Allow apply_update in a transaction
Currently trying to use apply_update in a transaction causes a deadlock, as apply_update tries to make its own new transaction but is locked out. This reuses the existing transaction, which also allows applying multiple updates in a single transaction.
Configuration menu - View commit details
-
Copy full SHA for 2c5627c - Browse repository at this point
Copy the full SHA 2c5627cView commit details -
Add __eq__ and __hash__ to XML types
Allows comparing whether objects refer to the same element in a doc. Important since every access generates a new, unique Python wrapper instance. __eq__ is based directly from the underlying rust objects' `Eq` implementation. __hash__ is based off of the `Hash` implementation of the `BranchID` of the rust objects.
Configuration menu - View commit details
-
Copy full SHA for 77bba28 - Browse repository at this point
Copy the full SHA 77bba28View commit details -
Like Text, XmlText can contain embedded formatting, so make that available.
Configuration menu - View commit details
-
Copy full SHA for 655bdd0 - Browse repository at this point
Copy the full SHA 655bdd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78e1598 - Browse repository at this point
Copy the full SHA 78e1598View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a4a99 - Browse repository at this point
Copy the full SHA 12a4a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6ef77 - Browse repository at this point
Copy the full SHA fb6ef77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ae7e94 - Browse repository at this point
Copy the full SHA 4ae7e94View commit details -
Configuration menu - View commit details
-
Copy full SHA for d691f57 - Browse repository at this point
Copy the full SHA d691f57View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.