Load enabled fonts into CKEDITOR

Created on 29 October 2018, about 6 years ago
Updated 29 November 2023, about 1 year ago

During development, I realized, that I can't use enabled fonts in CKEDITOR. So I analyzed the code, and created a patch.

After applying the patch, Drupal will load font-your-face enabled fonts in every CKEDITOR instance, so you can use the fonts in css.

Need more work:

  • Make patch for typekit API
  • Make patch for fontscom API
✨ Feature request
Status

Needs review

Version

4.0

Component

Code (general)

Created by

πŸ‡­πŸ‡ΊHungary tommychris Budapest

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡ΊπŸ‡ΈUnited States mkindred

    Switching to 4.0.x-dev for bug/deprecation fix.

  • Status changed to Needs review about 1 year ago
  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update about 1 year ago
    7 pass
  • πŸ‡ΊπŸ‡ΈUnited States mkindred

    I was successfully using #5 until upgrading to D10, at which point I ran into issues with the use of file_create_url() (which had been deprecated) in the patch.

    I created a fork based on #5, replacing two instances of file_create_url().

    I'm currently on D10.1.6, but I'm still using ckeditor 4 (contrib). Based on the fact that #5 was meant for ckeditor 5, I'm hoping my commit will also work for 5 but I can't test that until after I upgrade ckeditor myself.

Production build 0.71.5 2024