-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Block Bindings: Add support to image caption attribute in block bindings #61255
Open
SantosGuillamot
wants to merge
39
commits into
trunk
Choose a base branch
from
add/support-all-image-attributes-in-block-bindings
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
6939eb5
Add support in the JS hook
SantosGuillamot 33ebfd8
Add support in the PHP array
SantosGuillamot 1539bb5
Transform figure > a selector into a
SantosGuillamot 47bac8c
Modify the image rendering if bindings are set
SantosGuillamot 841165d
Add support for image caption
SantosGuillamot 31a78b8
Adapt Gutenberg compatibility filters
SantosGuillamot 2abb001
Use regex (temporary)
SantosGuillamot 49f327c
Fix regex
SantosGuillamot c85de98
Another approach: Remove tags in render
SantosGuillamot f69662d
Update supported binding attribtues in another file
talldan d1734c5
Update client side pattern override supported attributes
talldan 953eea5
Add `set_inner_text` private method instead of using regex
SantosGuillamot 7f00489
Support only caption
SantosGuillamot cac2dd1
Only run `set_inner_text` when figcaption exists
SantosGuillamot fd58bcf
Go back to existing `save.js`
SantosGuillamot c5abad9
Fix typo
SantosGuillamot 3a9c6e8
Remove comment
SantosGuillamot 01ca7ee
Hide caption controls if the caption is binded
cbravobernal 2967e88
Remove user permissions check
cbravobernal ec0e52c
Add caption e2e tests
SantosGuillamot fa01364
Copy latest changes from core
SantosGuillamot f39fa0b
Remove extra return
SantosGuillamot 45cd9e4
Fix bookmarks
SantosGuillamot da0886d
Fix compatibility with older versions
SantosGuillamot 75fc917
Move logic to 6.6 compat folder
SantosGuillamot 0fe9b31
Only process image caption in 6.6 compat
SantosGuillamot 435058e
Remove extra spaces
SantosGuillamot 895110a
Don't grab bookmarks until the end
SantosGuillamot 3e183b7
Remove release_bookmark
SantosGuillamot a2b825c
Add warning
SantosGuillamot 77d7116
Make filter caption specific
SantosGuillamot dc568a9
Only process caption in WP 6.5
SantosGuillamot 6eeb7c2
Change conditional
SantosGuillamot 0e3b174
Add support for 6.4
SantosGuillamot 7311680
Clarify methods only apply to figcaption
SantosGuillamot d38d635
Remove check to always run caption processing
SantosGuillamot 586d7df
Add backport changelog
SantosGuillamot ac597ee
Move changelog to 6.7 folder
SantosGuillamot be4c4c2
Remove caption restriction in pattern overrides
SantosGuillamot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clarify methods only apply to figcaption
- Loading branch information
commit 7311680db43119f2808082afc8cb171a6bb358bb
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here https://github.com/WordPress/gutenberg/pull/61255/files#r1648912442