core icon indicating copy to clipboard operation
core copied to clipboard

Block Editor Does Not Allow Users to Add Images Or Videos On First Click

Open weiyiwang-dotcms opened this issue 1 year ago • 1 comments

Parent Issue

No response

Problem Statement

When creating a new piece of content with a block editor field, the first attempt to add an image/video to a block editor field fails to open the modal. This issue affects customers on v 24.04.05 and older of dotCMS. This issue is a user experience issue that can be worked around by simply re-clicking on the image/video button.

Steps to Reproduce

Create a content type with a block editor field Create a new content of that content type When creating that new content, click on the + icon on the block editor Click on image/video The initial attempt to add an image/video will fail, but subsequent attempts will succeed. This happens every time you are creating a new contentlet.

https://github.com/dotCMS/core/assets/136110669/6baf8835-c8be-44d1-b557-0e1bb81dda3a

Acceptance Criteria

Have the image and video feature in the block editor open the modal on the first click

dotCMS Version

Was able to reproduce in image dotcms/dotcms:24.04.05

Proposed Objective

Technical User Experience

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.zendesk.com/agent/tickets/116406

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

weiyiwang-dotcms avatar Jun 03 '24 15:06 weiyiwang-dotcms

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Sep 02 '24 01:09 github-actions[bot]

PRs:

  • https://github.com/dotCMS/core/pull/30681

github-actions[bot] avatar Nov 15 '24 21:11 github-actions[bot]

QA notes:

This can be reproduce in main and in the LTS Release 24.04.24v11

Steps to reproduce:

  1. Create a content type with a title and a block editor.
  2. Create a new content type, when the page loads, go and click directly to the "+" in the block editor without doing any other click page.
  3. then select the option Image or Video.
  4. The corresponding dialog should open and stay there. without the need of any other extra click.

hmoreras avatar Nov 15 '24 21:11 hmoreras

Approved: Tested on trunk_66d49c2, Docker, macOS 14.5, FF v126.0.1

josemejias11 avatar Nov 19 '24 22:11 josemejias11