Skip to content

Conversation

@smsochneg
Copy link
Contributor

@smsochneg smsochneg commented Oct 5, 2022

solving problem when instanceof doesn't work in webpack production build for selection

Copy link
Member

@d3m1d0v d3m1d0v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls, add a description of what it's for and what bug fixes it


declare module 'prosemirror-state' {
class Selection extends prosemirrorState.Selection {
selectionName?: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must be a static field

@smsochneg smsochneg merged commit 320bc10 into master Oct 5, 2022
@d3m1d0v d3m1d0v deleted the selection-fix branch October 6, 2022 08:49
makhnatkin pushed a commit that referenced this pull request May 28, 2024
feat: added new field for selection interface
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.

3 participants