Third option for the CKEditor 4 "Language" button: `enabled` (in addition to `un` and `all`)

Created on 14 January 2021, almost 4 years ago
Updated 7 September 2023, about 1 year ago

Problem/Motivation

At the moment there is two predefined language lists available to choose from:

  1. United Nations' official languages
  2. All languages
  3. >

In our use case we only need 2 languages to be available in the list - English and Māori (which is not in the standard language list but this is separate issue).

Māori is not in the UN list so that doesn't fit.

We could use "All languages" as a work around (if Māori was there ) but UX if that is horrible.

Proposed resolution

Provide a way to create a custom, site specific, language list. "Language" CKEditor plugin configuration form could be changed to have third option - Custom, selecting which user will be presented with the multiselect list of all languages from which they can choose.

Remaining tasks

  1. agree on approach
  2. consider UX
  3. code
  4. review
  5. test
  6. commit

User interface changes

TBC

API changes

None

Data model changes

None

Release notes snippet

TBD

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇿New Zealand RoSk0 Wellington

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024