Opened 5 years ago

# Add support for MathJax block equations

Reported by: Owned by: Jakub Ś Normal General 4.3 Beta

### Description

Extracted from #11298

Currently MathJax supports only inline equations. It would be nice if block equations were supported as well.

Additionally plugins should detect what sort of equation it is dealing (probably based on brackets used).

### comment:1 Changed 5 years ago by Jakub Ś

Status: new → confirmed

### comment:2 Changed 5 years ago by Piotrek Koszuliński

Status: confirmed → pending

What's the difference between inline and block equations? What's wrong with inline equation inside <p> if it is its only child?

### comment:3 Changed 5 years ago by Piotr Jasiun

It would be nice to have support for MathJax block equations. In the first version we wanted to keep this plugin simple and widget which can be inline or block is not that simple so we decided to drop block support at the begging.

MathJax behave differently in inline and block. In inline it try to keep everything as small as the line is, so if you put very complex equation in inline mode it will be very small. Block equation behave differently. It can take as much space as it needs to create big and beauty equation. It would be good to support both.

### comment:4 Changed 5 years ago by Piotrek Koszuliński

Status: pending → confirmed

OK, so it makes sense.

### comment:5 Changed 5 years ago by Marcus

In need of this as well, I've created a pull request https://github.com/ckeditor/ckeditor-dev/pull/86 for this. Not sure if that goes in line with you're aiming for on the plugin.