Problem/Motivation
Currently the build/mentionsIntegration.js relies on editor selection drop down to be present in the markup. It then iterates trough the select and attaches to the configured editors. This isn't the case in a situation when only 1 editor is selected on content type, since no dropdown for editor selection is present in the markup.
Steps to reproduce
Configure mention as normally, limit editor selection to 1 on the content type. Mentions won't trigger, no ajax calls will be triggered.
Proposed resolution
Use the data-editor-active-text-format on the textarea tag that is being updated in case an editor selection is changed or fallback to also checking for
Comments
Comment #2
edwardsay commentedLooks like this was solved in https://www.drupal.org/project/ckeditor5_mentions/issues/3553526
Comment #3
sujan shrestha commentedFixed in 2.0.x (commit f3512a1, release 2.0.1). The integration no longer depends on the format selector dropdown: each editor receives its own feed configuration, so it works when only one format is available. 1.1.x is no longer maintained; please update to 2.0.1.