https://livedev.enhancetwo.co.uk/ckedit ... ?t=A8LE4JO
https://livedev.enhancetwo.co.uk/ckeditor/ckeditor.js
afterInit : function( editor )
{
editor.dataProcessor.dataFilter.addRules(
{
elements :
{
div : function( element )
{
if(false)
{
var attributes = element.attributes;
if( attributes.class == 'product' )
{
var fakeElement = editor.createFakeParserElement( element, 'cke_checkout', 'div', true );
return fakeElement;
}
}
}
}
});
}
Re: IE7 & 8 showing error for custom plugin
Found this error while searching for the answer to my error which is the same.
It seems to be a bug with CKEditor in those browsers Or the Browsers themselves (i only tested in IE6 myself).
It can be worked around though.
JS objects can also be used like hashes.
So:
and
Work the same, and wont produce any errors in IE6
Cheers
Richie
Re: IE7 & 8 showing error for custom plugin
Re: IE7 & 8 showing error for custom plugin
could
Re: IE7 & 8 showing error for custom plugin
Re: IE7 & 8 showing error for custom plugin
This is going off topic but...
Imagine a company with 3000 staff. All their activity is web based. Using their own custom cms that they have had for 6 years, they use IE6. They know it works with IE6, they dont want to upgrade 3000 computers.
You have work to do for them...
Re: IE7 & 8 showing error for custom plugin
Imagine such a company.
All their core business relies on a browser that was released 10 years ago, their custom CMS hasn't been updated since the release of the updated version of that browser in October 2006 (less than 5 years ago).
Their CMS also doesn't support other OS and browsers.
What are they doing when a computer crashes and a replacement is added?
For how long do they expect that to work?
Hasn't everyone already run away from a company that it's ready to sink?