Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

[Content Experience ]fix wrong column resizing handle insertion #1

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

ye-elvis
Copy link

Summary
This is an adoption of a fix from ProseMirror#79 but I included test to make sure that number of decorations are returning back properly.

Asana tasks:
https://app.asana.com/0/1117482789486653/1199983280453673/f

Relevant deployment: webapp (product + JS API)

Reason this is safe to merge before code review
N/A -- I plan to have this code reviewed before merging.

@ye-elvis
Copy link
Author

resize_handle

@ye-elvis ye-elvis changed the title Elvisye cx tests for column resizing handle [Content Experience ]fix wrong column resizing handle insertion Mar 16, 2021
Comment on lines +66 to +79
// This is a labelled diagram of the table being tested.
// Notice the left border is not labelled. This is because
// all borders are referenced to the right of the cells.
// The (x, pos) indicate where the user is hovering and the resolved
// position. The initial editor state is a document with just an empty
// table. All cells are empty exce
//
// border 1 border 2 border 3
// | |(1, 2)
// --------------------------------------
// | |(2, 9) |(3, 14) |(4, 18)
// ---------------------------
// | |(5, 9) |(6, 24) |(7, 28)
// --------------------------------------

Choose a reason for hiding this comment

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

LOL thank you for this

Copy link

@linsannety linsannety left a comment

Choose a reason for hiding this comment

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

Lgtm

@ye-elvis ye-elvis merged commit ac59fc6 into master Mar 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants