Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jul 8, 2022

First attempt towards fixing #2337

  • Test case for trailing node transaction triggering the step and save
  • Hotfix by appending a trailing paragraph before creating the tiptap document
    • Hopefully figure out a nicer way to solve this

@vinicius73
Copy link
Member

/rebase

@vinicius73
Copy link
Member

/compile

@vinicius73
Copy link
Member

the expects now have a p tag 🙈

image

@juliusknorr
Copy link
Member Author

/compile

@juliusknorr
Copy link
Member Author

@vinicius73 Which would be expected so that we always end up with a new line. But I didn't see a failing CI check. Anyways rebased, so let's see.

@juliusknorr
Copy link
Member Author

Ah I see now, I'll have another look then.

@max-nextcloud
Copy link
Collaborator

/compile

@max-nextcloud
Copy link
Collaborator

Ahh.... i see. Tests still need to be updated.

juliusknorr and others added 3 commits August 30, 2022 11:55
It was added to ensure the trailing paragraph extension of tiptap
does not trigger an autosave without other changes.

Signed-off-by: Max <[email protected]>
@max-nextcloud
Copy link
Collaborator

/backport to stable24

@max-nextcloud
Copy link
Collaborator

/backport to stable23

@max-nextcloud
Copy link
Collaborator

/compile

@max-nextcloud max-nextcloud self-requested a review August 30, 2022 09:56
Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

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

Not ideal but seems to do the trick.

Signed-off-by: nextcloud-command <[email protected]>
@max-nextcloud max-nextcloud merged commit d9d622c into master Aug 30, 2022
@delete-merged-branch delete-merged-branch bot deleted the bugfix/2337 branch August 30, 2022 10:07
@backportbot-nextcloud
Copy link

The backport to stable24 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable23 failed. Please do this backport manually.

@juliusknorr
Copy link
Member Author

/backport cdfcd37,2fa358f8e7bfdc74158fa1e3a8b352db81806f25,5c56006d74a95396eb8492c45ca17d544f7d7a5e to stable24

@juliusknorr
Copy link
Member Author

/backport cdfcd37,2fa358f8e7bfdc74158fa1e3a8b352db81806f25,5c56006d74a95396eb8492c45ca17d544f7d7a5e to stable23

@backportbot-nextcloud
Copy link

The backport to stable23 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File open always triggers save and overwrites last modified date

5 participants