Text expansions do not work immediately after a soft-break atom #11020
Labels
affects:admin
Anything relating to Ghost Admin
affects:editor
Work relating to the Koenig Editor
bug
[triage] something behaving unexpectedly
stale
[triage] Issues that were closed to to lack of traction
Issue Summary
If you use Shift+Enter to create a soft-break atom, then at the beginning of the new line type a markdown expansion, it's not recognised by the text expansions and won't apply formatting when you close the markdown.
To Reproduce
*testing*
*
If you repeat the steps but type a space or anything else before
*testing*
then the expansion will complete correctly.The problem likely lies with the text-expansion regexes where it's not recognising the soft-break as a start of a section (
^
) or as whitespace (\s
).The text was updated successfully, but these errors were encountered: