Skip to content

Feature/563 - alt text sync#585

Open
i-just wants to merge 6 commits into
5.xfrom
feature/563
Open

Feature/563 - alt text sync#585
i-just wants to merge 6 commits into
5.xfrom
feature/563

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented May 14, 2026

Description

When an image asset is added to the CKEditor field (assuming the “image tags” mode is selected), the alt text in the editor should be populated with the value of the asset’s native Alternative Text field.

It uses reference tags so that if the asset’s Alternative Text value is changed, it’s automatically updated in the CKEditor field on reload.

If the user changes the text in the editor’s balloon to something different from the asset’s alternative text, the reference tag should be removed, and the value should no longer be synced.

There’s also a sync button that allows the value in the editor to be synced with the Asset’s value.

Related HtmlField PR: craftcms/html-field#20

Related issues

#563

@i-just i-just requested a review from brandonkelly as a code owner May 14, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant