Hello,
I am working on integrating CKEditor 3.0 with the LON-CAPA educational content system, and I have written a simple plugin to add an internal <algebra> tag to a given editor -- the contents of this tag are later parsed and formatted by the system. However, if one later tries to format this by adding bold, etc., it inserts the <span> inside the <algebra> tag, breaking the formula inside. Is there any way I can generate:
<span style="font-weight:bold"><algebra>2*x+5</algebra></span>
instead of:
<algebra><span style="font-weight:bold">2*x+5</span></algebra>
Thanks for your help!
I am working on integrating CKEditor 3.0 with the LON-CAPA educational content system, and I have written a simple plugin to add an internal <algebra> tag to a given editor -- the contents of this tag are later parsed and formatted by the system. However, if one later tries to format this by adding bold, etc., it inserts the <span> inside the <algebra> tag, breaking the formula inside. Is there any way I can generate:
<span style="font-weight:bold"><algebra>2*x+5</algebra></span>
instead of:
<algebra><span style="font-weight:bold">2*x+5</span></algebra>
Thanks for your help!