javascript - Latex Plugin with CK Editor to create mathematical formulas -


i using latex plugin ckeditor. plugin returns math equation in image form.

i looking hold of latex text instead of image. how achieve it? there configuration enable it? example great.

please refer following code.

ckeditor.extraplugins = 'mathjax,eqneditor';  ckeditor.plugins.addexternal('eqneditor', '../../vendors/ckeditor-ext-plugins/eqneditor/plugin.js');  ckeditor.config.toolbar = [         {name:'document',items:[ 'cut', 'copy', 'paste', 'pastetext', 'eqneditor'],         }     ]; 

edited

p.s. : need panel edit math equation, http://www.codecogs.com/latex/eqneditor.php

you using third-party plugin, nothing wrong of course, however, need ask authors support core ckeditor team unable support external addons.

there is, however, official ckeditor mathematical formulas plugin available - referencing in code (ckeditor.extraplugins = 'mathjax';) seems not using it.

see sample here: http://sdk.ckeditor.com/samples/mathjax.html

with plugin can write equations in tex. not sure mean "getting hold of latex text", plugin equations output in plain tex format mathjax delimiters, \( , \), source html this:

<p><span class="math-tex">\(p(e) = {n \choose k} p^k (1-p)^{ n-k} \)</span></p> 

refer documentation more information plugin , configuration: http://docs.ckeditor.com/#!/guide/dev_mathjax


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -