Hi to everybody.
I'm writing my own plugin to make users able to insert html object tags with type="application/pdf" to view inline pdf documents.
For this I'm using FCKEmbedAndObjectProcessor.AddCustomHandler, which returns a new fake img placeholder.
The function processElement in FCKEmbedAndObjectProcessor detetcs correctly that I'm returning a new fake image, and calls FCKTempBin.RemoveElement() to remove the default fake img.
This RemoveElement function sets the relative item in its Elements array to null, but the functions FCKTempBin .ToHtml and FCKTempBin.ToElements crash because they find a null element.
I'm doing something wrong or the FCKTempBin should be fixed?
I'm using fckeditor v. 2.6.3 (build 19836).
Thank you all
Michele
I'm writing my own plugin to make users able to insert html object tags with type="application/pdf" to view inline pdf documents.
For this I'm using FCKEmbedAndObjectProcessor.AddCustomHandler, which returns a new fake img placeholder.
The function processElement in FCKEmbedAndObjectProcessor detetcs correctly that I'm returning a new fake image, and calls FCKTempBin.RemoveElement() to remove the default fake img.
This RemoveElement function sets the relative item in its Elements array to null, but the functions FCKTempBin .ToHtml and FCKTempBin.ToElements crash because they find a null element.
I'm doing something wrong or the FCKTempBin should be fixed?
I'm using fckeditor v. 2.6.3 (build 19836).
Thank you all
Michele