-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Blocks: pasting formatting lists removes spacing #4702
Comments
Issue summary@bastianallgeier I've tracked down the issue and this issue occurs by following Works great when I removed the |
@afbora could you set up a PR with that fix? And then we can do more manual testing if we run into other side effects. |
I understand exactly what the problem is, but I have no idea of a solution.
When we remove trim function in Inline class, the ones with a single element are broken. |
Description
When you try to paste/import some text from your clipboard that has lists that are formatted, the text of the list is rendered without the spaces around the formatted text.
Expected behavior
The text of the list should be kept exactly as copied
Screenshots
dashboard-hastyai-and-78-more-pages-personal-microsoft-edge-2022-09-26-20_95qugzXK.mp4
To reproduce
Your setup
Kirby Version
3.7.5
Console output
nothing on console
Your system (please complete the following information)
Additional context
It seems that if I add a list block then paste the text inside it, it will render as it should. Only when trying the ctrl+v function seems to not work.
The text was updated successfully, but these errors were encountered: