Make it possible to enable the text filter on text formats with CKEditor 5

Created on 5 December 2022, over 1 year ago
Updated 24 January 2023, over 1 year ago

Problem/Motivation

On the face of it, it looked at first glance that we can't use the MathJax module with Drupal 10 because the you cannot use the MathJax CKEditor plugin within a CKEditor v5 Text format.

Custom configuration

HOWEVER, it seems that switching Configuration Type from Text Format to Custom on the /admin/config/content/mathjax saves the day.

I saw that it spurts out a JSON array but I had no idea quite what to do with that and the link the MathJax documentation doesn't help - certainly not for me anyway but enabling this setting has sorted thing out and I am able again to use $this$ and $that$ to get what I want to show!

In summary

So, for anyone faced with the same WFT, there's the solution for you, simply:

1) Visit /admin/config/content/mathjax.
2) Tick the Custom radio button under Configuration Type.
3) Save the configuration.
4) Carry on wrapping up your wares in $...$ and $$...$$

I hope someone else finds this useful and I apologies is this advice already appears somewhere else and I've missed it

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

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.

Production build 0.69.0 2024