codeslayer1 / react-ckeditor

CKEditor component for React with plugin and custom event listeners support
MIT License
129 stars 34 forks source link

How to display mathjax #77

Open gshoanganh opened 4 years ago

gshoanganh commented 4 years ago

Hi ad, When I set the equations in Editor, it does not display, but it displays on my site. can you help me?

 <CKEditor 
                        scriptUrl="https://cdn.ckeditor.com/4.14.0/full-all/ckeditor.js" 
                        activeClass="p10"
                        content={value}
                        events={{
                            "blur": e => this.onBlur(e),
                            "afterPaste": e => this.afterPaste(e),
                            "change": this.handleChange
                        }}
                        config={{
                            readOnly: false, 
                            allowedContent: true,
                            extraPlugins: 'mathjax', 
                        }}
/>
Screen Shot 2020-04-07 at 9 59 28 AM