I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Products » LaTeX Equation Editor » CK Editor »

CK Editor Update

CodeCogs\′s Photo
26 May 13, 6:14AM
CK Editor Update
We've released a small update to our CK Editor plugin, that corrects a mistake that prevented users from editing existing equations.

The changes to the code is very small. This line 110 the line:
createEqnDefinition.exec(null, sName[2]);
should be
createEqnDefinition.exec(this, sName[2]);

So that complete function that uses this call looks like:
editor.on( 'doubleclick', function(evt) 
 {
  var element = evt.data.element;
  if (element && element.is('img')) 
  {
    var sName = element.getAttribute('src').match( /(gif|svg).latex?(.*)/ );
    if(sName!=null)
    {
      createEqnDefinition.exec(this, sName[2]);	
      evt.cancelBubble = true; 
      evt.returnValue = false;
      evt.stop();	
    }
  }
}, null, null, 1);
Currently you need to be logged in to leave a message.