There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-61d80888-2936-4c95-937a-1e71f2e77c02 XWIKI-17664 Open

When adding an annotation the focus should be inside WYSIWYG by default

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-24497725-af4e-452a-876f-e35d071dcad3 Changes by Charpentier Lucas on 26/Nov/24 15:38
 
Assignee: Charpentier Lucas
 
 

1 comment

 
cid:jira-generated-image-avatar-24497725-af4e-452a-876f-e35d071dcad3 Charpentier Lucas on 26/Nov/24 15:38
 

_thumb_42975.png

This screenshot shows how the legacy way to set the focus did not work anymore.
When trying to look for the input, the WYSIWYG editor is not loaded and this fails to focus anything.
The solution I went with is to change the CKEditor configuration.

AFAIU, we mostly care about CKEditor/Realtime (based on CKEditor) for WYSIWYG editors.
This small fix should solve the issue for both and I think it's enough to close this issue. I'll close the issue as soon as https://github.com/xwiki/xwiki-platform/pull/3694 is merged.
Feel free to reopen it later if we should make it work with additional editors.