Problem/Motivation

It is not possible to configure special characters available in CKEditor profile.

Proposed resolution

Add this ability.

Remaining tasks

  • Write patch
  • Review
  • Commmit

User interface changes

New "Special characters" vertical tab available in "CKEditor plugin settings" section when special character button added to active buttons.

API changes

None.

Data model changes

None.

Comments

RoSk0 created an issue. See original summary.

wim leers’s picture

Title: Add ability to configure CKEditor specialChars available in profile » Add ability to configure CKEditor specialChars available for text format
StatusFileSize
new47.33 KB

So, you're asking to make it possible to configure the list of options this displays, right?

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)
rosk0’s picture

Status: Postponed (maintainer needs more info) » Active

@Wim Leers Credit Correct.
I think I'm really close to working version of patch.
Will submit soon.

rosk0’s picture

Assigned: rosk0 » Unassigned
Status: Active » Needs review
StatusFileSize
new18.55 KB
new53.84 KB

Patch and screenshot of the UI.

Status: Needs review » Needs work

The last submitted patch, 5: drupal-2899502-5.patch, failed testing. View results

rosk0’s picture

Status: Needs work » Needs review
StatusFileSize
new20.17 KB
new1.62 KB

Fixed broken test.

Status: Needs review » Needs work

The last submitted patch, 7: drupal-2899502-7.patch, failed testing. View results

rosk0’s picture

Status: Needs work » Needs review
StatusFileSize
new21.65 KB
new1.48 KB

And again...

wim leers’s picture

I think this is useful … but only for a very very small number of sites. Drupal core tries to only deal with 80% use cases. This seems more like a 1% use case. Therefore I'd propose you create a Drupal 8 contrib module that does this.

See https://www.drupal.org/docs/8/core/modules/ckeditor/contributed-modules-... — you'd be able to add this contributed module to that list!

wim leers’s picture

The patch looks pretty good by the way! :)

rosk0’s picture

Status: Needs review » Closed (won't fix)

Thanks for your feedback Wim.
I have created CKEditor Special Characters module and added it to the list of CKEditor addons you mentioned.