Token Insert textfocus issue for CKEditor 5

Created on 22 February 2024, 9 months ago
Updated 6 August 2024, 4 months ago

Problem/Motivation

This is similar to the problem mentioned in https://www.drupal.org/project/token/issues/3334784 Implement Token-Click-Insert for CKEditor 5 Fixed
which is about the text focus issue while trying to insert the token from CkEditor5.

Steps to reproduce

1. Click on title field and title.
2. Click on Body field textarea and try inserting any token.
3. The token will be inserted on title textfield instead of body textarea.

Proposed resolution

tokenFocusedField and tokenFocusedCkeditor5 were used to set the focus. We need to set the either of the variables to null while the others were set with a value.

🐛 Bug report
Status

Needs work

Version

1.13

Component

Code

Created by

🇮🇳India bala_28 Chennai

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

Comments & Activities

Production build 0.71.5 2024