codex-team / codex-team/editor.js

Soft line break issue: Chrome VS safari

Open
#2,522 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hi @neSpecc
I have EditorJS 2.28 and I noticed a difference in behavior between Safari and Chrome.
When making a soft line break, safari is returning a `

` block while chrome is returning a `
`

1. Open a new EditorJS instance
2. Write some text and make a soft line break: Enter+Shift

The main issue behind this behavior is that the `

` gets sanitized and the carriage return disappear.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.