Skip to content

Add title attribute to block-preview elements for displaying element name#286

Open
timoschraa wants to merge 4 commits intorickbutterfield:v5/devfrom
timoschraa:feature/v5/add-element-description
Open

Add title attribute to block-preview elements for displaying element name#286
timoschraa wants to merge 4 commits intorickbutterfield:v5/devfrom
timoschraa:feature/v5/add-element-description

Conversation

@timoschraa
Copy link
Copy Markdown

@timoschraa timoschraa commented Apr 2, 2026

Add title attribute to block-preview elements so inside the block preview elements you know which element you are editing/opening. This could be a specific case for us, but I think it could be useful for more companies that use the BlockPreview. Like this you have more control/context about which element will be edited.

Would appreciate the merge, let me know if you have any questions regarding the change :)

@timoschraa timoschraa changed the title Add data-description attribute to block-preview elements Add title attribute to block-preview elements for displaying element name Apr 9, 2026
@rickbutterfield
Copy link
Copy Markdown
Owner

Hey @timoschraa! This a great straightforward fix, thank you!

Please can you merge in the latest changes from v5/dev and resolve the conflict. I'll get it merged in after that.

Timo Schraa added 2 commits April 11, 2026 19:12
…ent-description

# Conflicts:
#	src/Umbraco.Community.BlockPreview.UI/src/blockEditor/block-preview-base.element.ts
@timoschraa
Copy link
Copy Markdown
Author

@rickbutterfield done ✅ Thanks!

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.

2 participants