After saving embedded content via the dialog, the form submit button is focused instead of the element.

Created on 25 May 2023, over 1 year ago
Updated 9 July 2023, over 1 year ago

Problem/Motivation

After saving the embedded content dialog form the form action is focused instead of the element that triggered the dialog.

Steps to reproduce

  1. Have the embedded content plugin enabled
  2. Create embedded content in the editor
  3. Save it

A form action button will be focused (most likely save).

Proposed resolution

Disable refocus for AJAX on the dialogs save button.

Remaining tasks

Review patch

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium leanderjcc Ghent

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024