-
Notifications
You must be signed in to change notification settings - Fork 94
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
fix: paste multiple line to table issue #3906
Conversation
2a54b60
to
ec14f8b
Compare
Passing run #10056 βοΈ
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this @luka-nextcloud! I have some comments π
@luka-nextcloud also, how about adding a Cypress test for this? |
ec14f8b
to
39df7ed
Compare
023ccec
to
343d060
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, works well now @luka-nextcloud. I have some minor remarks, mainly to make the code more readable and to fix the failing linting tests. Please also squash all commits into one. Afterwards the PR is good to be merged from my side.
I'm not sure whether deconstructing the slice children and reassembling them into a new fragment is really necesary, but I didn't find a simpler solution myself.
13b3fa2
to
97bf10c
Compare
ce23640
to
140a1aa
Compare
140a1aa
to
4621b08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good,
green CI and usage of the tasks (initial issue description) would be appreciated
4621b08
to
a9c25ef
Compare
a9c25ef
to
b917a02
Compare
Please check the cypress test again as it seems ot be failing after moving it |
b917a02
to
52e9ed8
Compare
/compile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash the commits as discussed
55020ea
to
d6b4585
Compare
@mejo- Your comments were already resolved. Could you please approve? |
d6b4585
to
99185f6
Compare
Signed-off-by: Luka Trovic <[email protected]>
99185f6
to
4fea236
Compare
/compile |
Signed-off-by: nextcloud-command <[email protected]>
/backport 4fea236 to stable27 |
/backport 4fea236 to stable26 |
/backport 4fea236 to stable25 |
The backport to stable25 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable25
git pull origin/stable25
# Create the new backport branch
git checkout -b fix/foo-stable25
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable25 More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
This replaces the broken approach from #3906. * Only regard paste handler if pasting to a table cell (Fixes: #4443) * Add all (marked) text nodes with newlines in between * Only add a newline for non-text nodes to prevent newlines in between text with changing marks. Signed-off-by: Jonas <[email protected]>
This replaces the broken approach from #3906. * Only regard paste handler if pasting to a table cell (Fixes: #4443) * Add all (marked) text nodes with newlines in between * Only add a newline for non-text nodes to prevent newlines in between text with changing marks. Signed-off-by: Jonas <[email protected]>
This replaces the broken approach from #3906. * Only regard paste handler if pasting to a table cell (Fixes: #4443) * Add all (marked) text nodes with newlines in between * Only add a newline for non-text nodes to prevent newlines in between text with changing marks. Signed-off-by: Jonas <[email protected]>
This replaces the broken approach from #3906. * Only regard paste handler if pasting to a table cell (Fixes: #4443) * Add all (marked) text nodes with newlines in between * Only add a newline for non-text nodes to prevent newlines in between text with changing marks. Signed-off-by: Jonas <[email protected]>
π Summary
πΌοΈ Screenshots
ποΈ Before
π‘ After
π§ TODO
π Checklist
npm run lint
/npm run stylelint
/composer run cs:check
)