Skip to content
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
wants to merge 50 commits into
base: pr
Choose a base branch
from
Open

Conversation

shlroland
Copy link
Member

No description provided.

marijnh and others added 30 commits September 29, 2021 09:02
…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
…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.
marijnh and others added 20 commits May 17, 2023 15:37
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
@shlroland shlroland changed the title Update Versions Update version Aug 13, 2024
@shlroland shlroland changed the title Update version merge from upstream Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants