mehdisadeghi / react-mathjax-preview

The MathJax React component you were looking for.
https://mehdisadeghi.github.io/react-mathjax-preview/
MIT License
49 stars 30 forks source link

Line wrapping Doesn't working #71

Open vijayk2018 opened 3 years ago

vijayk2018 commented 3 years ago

After added "HTML-CSS": { linebreaks: { automatic: true } in config, its working properly ( text-wrap) only when i refresh each time. while doing normal component shift (one component to another component) navigation line-break is not getting applied. Could any one please help me to fix this.

Here are the details:

Markup:

let config = { "HTML-CSS": { linebreaks: { automatic: true }, width: "container" } }

Plugin Version : 2.2.3

MathML Tag: <MathJax config={config} ....

MathML sample questions

Application Output preview2

Preview Link Output reactPreview

PDipendra commented 1 year ago

config = { CommonHTML: { linebreaks: { automatic: true } }, showMathMenu: false, 'HTML-CSS': { linebreaks: { automatic: true, width: 'container' }, scale: 150 } };