forked from ProseMirror/prosemirror-transform
-
Notifications
You must be signed in to change notification settings - Fork 1
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
merge from upstream #2
Open
shlroland
wants to merge
50
commits into
xheldon-prosemirror:pr
Choose a base branch
from
shlroland:master
base: pr
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…locks FIX: Fix an inconsistency in `deleteRange` where it would delete the parent node for ranges covering all textblocks in a given parent. Closes ProseMirror/prosemirror#1209
FIX: Make sure that constructing an empty `StepMap` returns `StepMap.empty`. Issue ProseMirror/prosemirror#1075
FEATURE: Node specs can now use the `definingForContent` and `definingAsContext` properties to opt in to specific parts of the existing `defining` behavior. Issue ProseMirror/prosemirror#1248
FIX: `replaceRange` will now close multiple defining parent nodes when appropriate. See https://discuss.prosemirror.net/t/listitem-node-lost-when-pasting-if-the-pasted-listitem-content-is-a-defining-node/4505
…aceStep FIX: Make replacements that span to the end of a textblock more consistent with those ending in the middle of the block. Issue ProseMirror/prosemirror#1259
FEATURE: `MapResult` objects now provide information about whether the tokens before, after, and around the position were deleted.
FIX: Allow replace steps to be mapped through changes that delete content next to their start and end points, as long as no delete spans across those points. See https://discuss.prosemirror.net/t/undo-not-working-after-tr-with-addtohistory-false/4246
FEATURE: The new `AttrStep` (and `Transform.setNodeAttribute`) can be used to set individual attributes on a node.
FEATURE: `AddNodeMarkStep` and `RemoveNodeMarkStep` can now be used to add and remove marks on individual nodes. `Transform.addNodeMark`/`removeNodeMark` provide an interface to these in transform objects. Issue ProseMirror#22
Discussion there works poorly, and it's started to attract spam. Use the forum instead.
FIX: Keep content in isolating nodes inside their parent when fitting a replace step. See https://discuss.prosemirror.net/t/broken-table-pasting/5117
…by default FIX: `Transform.setNodeMarkup` will no longer clear the node's marks when it isn't given an array of marks. Closes ProseMirror/prosemirror#1349
FIX: Include CommonJS type declarations in the package to please new TypeScript resolution settings.
FIX: Fix a bug in `canSplit` that made it interpret the `typesAfter` argument incorrectly on splits of depth greater than 1. Issue ProseMirror/prosemirror-schema-list#11
FIX: When using `setBlockType` to convert a code block to a type of node that doesn't contain code, replace newlines with spaces. Closes ProseMirror/prosemirror#1403
Also only drop context when the parent markup match the context
FIX: Fix a failure in `replaceRange` to drop wrapper nodes when the same wrapper is already present. Closes ProseMirror#25
FEATURE: The new `DocAttrStep` can be used to set attributes on the document's top node. FEATURE: `Transform.setDocAttribute` can be used to create a `DocAttrStep` in a transform. Closes ProseMirror#26
FIX: Fix an issue in `ReplaceAroundStep.map` that broke mapping steps that wrapped content over steps that inserted content at the start of the step.
FEATURE: `setBlockMarkup` now uses the linebreak equivalent node defined in the schema. Issue ProseMirror/prosemirror#1460
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.