-
-
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
Writer: non-breaking spaces cause endless "Revert" state #6285
Comments
I don't know if it's related, but I've noticed that UPDATE: This does not seem related (I've just checked on a v3 site which also has this issue and the language query param is not on the key). |
This issue was related to special characters. If you share the content file of the page you have the issue, maybe we can replicate the issue and find a solution. |
So it's a known issue? Any further context to point to here (other issues, PRs) (I've looked but haven't been able to find any).
Unfortunately it's within the context of a closed source project. I'll try to create an isolated test case that reproduces it. It's worth pointing out the following workaround (that suggests this isn't related to special chars in the content file):
However, if you make changes before clicking the "Revert" button it does not work. |
Alright, read through some of the past context and found the following:
|
Seems the primary PR that previously addressed this (#3758) was mostly around I can reliably reproduce this by pasting HTML that contains So to reproduce:
Question: Is there any reason to preserve Maybe the simplest "fix" is to replace all |
I could replicate it as described, @igregson, thanks. What It seems to be: |
@bastianallgeier @lukasbestle How can we preserve |
TBH I can't really help here as I wasn't involved in the development of Parsley. |
@lukasbestle My mistake, I always mix up Parsley and Sane there. |
Description
The exact issue I'm seeing is described here (in the issue it was suggested to the OP to create a GH issue but it seems he never did):
https://forum.getkirby.com/t/orange-bar-keeps-re-appearing-on-reverting-changes-in-panel/24271
I experienced the bug in Kirby v3 and am still experiencing it in Kirby v4.
It does not always happen. I have not yet been able to isolate what's needed to recreate it.
It happens often enough to be annoying and potentially quite confusing for users (e.g. resulting in not knowing if their changes were actually reverted).
Expected behavior
When clicking "revert" the "Revert" and "Save" buttons should disappear.
Your setup
Kirby Version
4.1.0
Your system (please complete the following information)
The text was updated successfully, but these errors were encountered: