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

Fix(plaintext): multiple linebreaks at end #6507

Merged
merged 6 commits into from
Oct 9, 2024

Conversation

max-nextcloud
Copy link
Collaborator

Pressing enter three times exits a CodeBlock element by default.
Disable this by setting exitOnTripleEnter to false in plaintext editor.

@max-nextcloud
Copy link
Collaborator Author

Includes #6505.

Use two functions that do one thing
rather than one with a boolean flag.

Simplifies the functions use and signature a lot
in particular since plain and rich editor need different arguments.

Signed-off-by: Max <[email protected]>
This does not require jsdoc comments.

Signed-off-by: Max <[email protected]>
Pressing enter three times exits a CodeBlock element by default.
Disable this by setting `exitOnTripleEnter` to false in plaintext editor.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud merged commit ab40a49 into main Oct 9, 2024
58 of 61 checks passed
@max-nextcloud max-nextcloud deleted the fix/plaintext-linebreaks branch October 9, 2024 12:06
@max-nextcloud
Copy link
Collaborator Author

failed cypress tests are unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review 28 feedback bug Something isn't working
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

3 participants