-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make editor's application labels unique #11863
Comments
While working on this issue we can look how we solve this problem in CKE4. We could add a config property that would allow for providing a human readable title / label. CKE4 has it for instance here: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-applicationTitle If no human-readable title is provided we should do the same thing we did in CKE4, so create a label like "editor1", "editor2", "editorn...". |
Notes from the recent meeting:
|
I just realized this won't work. See how the classic editor is initialized:
|
Maybe I don't see something but... why not set it as one of options when creating
Or just pass whole config. Or, cannot this be a dynamic value (I mean either bound to template or just observable)? It could be set afterwards. Why not? |
Because there must be a place that takes care of unnamed editors and increments "EditorN". Preferably by setting |
An update: After a F2F with PK we figured that we're gonna change the API for our editors' UIs This will be a minor change because it's unlikely that any of these UIs is used as a base class by integrators and, at the same time, Also, we figured we should probably use To sum things up:
|
Does this have any impact on multi root editor implementations that people have? I mean changing how the view is set? |
It should not because we're not changing the api of the base |
Related - #9731 |
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
Every editor has a unique name on the list displayed by the rotor.
❌ Actual result
Every editor has the same name, "Rich Text Editor".
❓ Possible solution
Add the editor name after the static part of the label: "Rich Text Editor, <editor name>".
📃 Other details
The analogous issue is present in other screen readers.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: