Skip to content

Use user defined hover text for images in tasks#45

Open
otacke wants to merge 2 commits into
h5p:masterfrom
otacke:fix-draggable-hover-text
Open

Use user defined hover text for images in tasks#45
otacke wants to merge 2 commits into
h5p:masterfrom
otacke:fix-draggable-hover-text

Conversation

@otacke

@otacke otacke commented Feb 15, 2019

Copy link
Copy Markdown
Contributor

With changing the image hover handling when metadata were introduced, static images and draggable used the image's metadata title for the hover text, but not what the user specified in the editor of Drag-and-Drop.

This change overrides the image hover text for static images and draggable. It will be what's specified by the user, so possibly empty and not displayed at all. For draggables, the hover for both, the draggable container and the image itself will now be the same.

With changing the image hover handling when metadata were
introduced, images within draggables used the images
metadata title for the hover text, but not what the user
specified in the editor of Drag-and-Drop.

This change overrides the image hover text for draggable
images. The hover for both, the draggable container and
the image itself will now be the same.
With changing the image hover handling when metadata were
introduced, static images used the images
metadata title for the hover text, but not what the user
specified in the editor of Drag-and-Drop.

This change overrides the image hover text for static
images. It will be what's specified by the user, so
possibly empty and not displayed at all.
@rezeau

rezeau commented Feb 15, 2019

Copy link
Copy Markdown
Contributor

Works OK when end-user views the drag & drop content. Does not seem to work in Edit mode.

@otacke

otacke commented Feb 15, 2019

Copy link
Copy Markdown
Contributor Author

How could it? This is not the editor.

@rezeau

rezeau commented Feb 16, 2019

Copy link
Copy Markdown
Contributor

You're right, @otacke this is not an issue with h5p-drag-question itself, but with its editor. I've posted an issue to h5p-editor-drag-question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants