-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Image Block Link Settings - Remember Link Settings #9404
Comments
Howdy @grappler I wonder if the new Variations API could solve this by adding an image block whose |
Testing using WordPress 5.7 beta 1 OSX 10.15.7 Testing instructions:
I added an image block. Added an image. Clicked link and selected Media File. The Image block link settings is remembered even when switching image. |
Thank you @paaljoachim for testing this issue and the detailed documentation. I realised from your documentation that my steps were not very clear. The issue is not when replacing/changing the image in a block but when inserting a new image block. The idea was to be able to change the default option for future image blocks. I hope I was able to explain myself better. |
Hi @grappler Ulrich. Ahh gotcha! Btw I see a newer issue that is basically the same as the one you made here. #23154 |
This is an interesting ticket @grappler and it speaks about remembering per user settings for blocks. But, how far should this reach? Adding a whole feature just for the image block seems overkill. Would there be other similar settings that make sense to be automagically saved? Would this be better saved by a plugin? |
Describe the bug
The Image Block does not remember what the previous setting for the link setting was.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The image link setting should be remembered for future image blocks. This is currently done in the classic editor with the cookie
wp-settings-1
and value%26urlbutton%3Dfile
Additional context
3.6.2
The text was updated successfully, but these errors were encountered: