alloy-editor
alloy-editor copied to clipboard
Switching formatted to heading cause an error on safari
I have an issue with switching styles.
This exists only on safari.
The steps to reproduce are hard to explain so I prepared a gif:
Thanks for reporting @dew326, we'll investigate. Does this happen with latest Safari, or is it a specific version?
I have tested this on 12.0.1 and 11.0.2.
Hi @dew326
I tried to reproduce this issue but I'm having a hard time, is there anything specific I should do ?
Thanks!
Hi @julien looks like it only occurs when the second item is empty.
I will try to describe the steps:
- Type
demo
in a new paragraph - Mark the
demo
and change toformatted
- Make two empty paragraphs
- Mark those two empty paragraph (do not mark the formatted
demo
) - Switch to formatted.
- Switch to heading 1 (do not change the selection)