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 #7

Open
wants to merge 296 commits into
base: pr
Choose a base branch
from
Open

Conversation

shlroland
Copy link
Member

No description provided.

marijnh and others added 30 commits October 13, 2021 10:56
FEATURE: Multiple `style` properties provided through the `attributes` prop are now merged.
FIX: Fix issue where recent Mobile Safari versions weren't treated as Mac platforms.
FIX: Fix an issue where some types of node decoration changes could cause an
unnecessary cascade of node redraws.

See https://discuss.prosemirror.net/t/node-decorations-before-custom-node-view-causes-rerender/3924
* add a destroy function to Decoration.widget

* add documentation

* add destroy to WidgetViewDesc
FEATURE: Widget decorations now accept a `destroy` option, which will be called
when the widget is removed from the view.

See https://discuss.prosemirror.net/t/unmounting-a-decoration-widget-created-with-react/3050
…artefacts

FIX: When parsing clipboard content, ignore trailing BR nodes that look like they might
be there as a contenteditable kludge.

Issue ProseMirror/prosemirror#1218
Since apparently browsers natively keep those around even when not necessary.

Issue ProseMirror/prosemirror#1218
FEATURE: `EditorView` now exposes an `isDestroyed` property that can be used
to test if the view has been destroyed.

See https://discuss.prosemirror.net/t/detect-if-a-view-has-been-destroyed/4180
FIX: Restore accidentally reduced lookahead distance in view updating algorithm.

Co-authored-by: Sean Chamberlain <[email protected]>
…ks are present

FIX: Avoid some unnecessary node redraws when marks are present in sibling nodes.
FIX: The clipboard parser will no longer drop trailing `<br>` nodes that
appear in an inline parent element.

Issue ProseMirror/prosemirror#1218
FIX: Improve the way the editor handles the mess of events produced when
pressing Enter before a word that was just typed on Chrome + GBoard.

Issue ProseMirror/prosemirror#1181
FIX: Fix an issue where compositions right before another instance of the
composed text could cause the editor to crash.

Issue ProseMirror/prosemirror#1226
…pdates

FIX: Fix an issue where, if decorations changed during a pointer drag selection,
the selection anchor might move around inappropriately.

See https://discuss.prosemirror.net/t/selection-changes-when-inline-decoration-is-applied/1027/6
marijnh and others added 28 commits March 11, 2024 12:31
FIX: Fix a bug where reconfiguring node views caused the editor to lose focus.

Closes ProseMirror/prosemirror#1236
FIX: Fix an issue where some commands didn't properly scroll the cursor into
view on Mobile Safari.

See https://discuss.prosemirror.net/t/scrollthreshold-scrollmargin-on-mobile-ios-for-list-items/6079
FIX: Fix a bug where starting a composition with stored marks or after a
noninclusive mark, with an IME that keeps the cursor at the start of the
composed text (like many Chinese IMEs) disrupted composition on Chrome.

Closes ProseMirror/prosemirror#1450
Issue ProseMirror/prosemirror#1296
FIX: Fix a memory leak where a (single) destroyed editor could be kept alive through
a reused `Range` object.
…ate the DOM

FIX: Further improve preserving of compositions for IME systems that keep the
cursor before the composed text.
FIX: When available, use `Selection.getComposedRanges` on Safari to find
the selection inside a shadow DOM.
FIX: Fix a regression in composition handling in 1.33.3 that occurs for some IMEs
when starting composition on an empty line.

Closes ProseMirror/prosemirror#1458
FIX: Make sure the content slice stored for an in-editor drag is the one that was transformed by `transformCopied`.
FIX: Ignore stray `<br>` nodes added to parent list elements when backspacing
near uneditable content in Firefox.

Closes ProseMirror/prosemirror#1464
FIX: Fix a crash where the editor tried to call `removeAttribute` on a
text node.

Closes ProseMirror/prosemirror#1468
FIX: Fix an issue where coordinates near nested blocks could inappropriately be
assigned to be inside those blocks.

Closes ProseMirror/prosemirror#1466
FIX: When composition happens with the cursor between two text nodes,
use the last mutated one to guess which one is being changed.

See https://discuss.prosemirror.net/t/compositionend-not-fire-when-prosemirror-view-upgrade-to-1-33-3-and-above/6446
FIX: Fix an issue where dragging an image on Chrome versions before 121
failed to put the image file in the clipboard data.

Closes ProseMirror/prosemirror#1472
FIX: Enable cross-site scripting protection hack when rendering nodes and
marks inside the editor.

See https://discuss.prosemirror.net/t/heads-up-xss-risk-in-domserializer/6572
… remains unchanged

FIX: Prevent triple clicks and clicks on atom nodes from dispatching a selection
update when the new selection is equal to the current selection.

See https://discuss.prosemirror.net/t/trippleclick-empty-paragraph-cause-storedmarks-loss/6597
FIX: Don't crash when `window.getSelection()` returns null.

Closes ProseMirror#170
@shlroland shlroland changed the title Updated version Update version Aug 12, 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.