Skip to content

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 max-nextcloud requested a review from mejo- as a code owner October 8, 2024 08:42
@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
@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

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants