ckeditor4-plugin-a11ychecker
ckeditor4-plugin-a11ychecker copied to clipboard
IE11 and Edge error
I have a project where i use Ckeditor with the a11ychecker, i use the following versions: CKeditor 4.5.9, A11ychecker 1.0.0, Balloonpanel 4.5.9 with jQuery 3.x.
When clicking the a11ychecker button it causes a javascript error "Object doesn't support property or method 'exec' ". Which occurs in here https://github.com/cksource/ckeditor-plugin-a11ychecker/blob/5d497a5ade75e9fbe46c4bb70880197ede1c4152/plugin.js#L224
It works fine in Safari, Chrome and Firefox. It's just IE11 and Edge that are giving problems.
This is the config im using
{
language: 'nl',
skin: 'icy_orange',
forceCustomDomain: true,
width: '100% -2px',
toolbarLocation: 'top',
format_tags: 'p;h2;h3;h4;h5;h6',
extraPlugins: 'showblocks,a11ychecker,balloonpanel',
a11ychecker_quailParams: {
guideline: [
'aAdjacentWithSameResourceShouldBeCombined',
'aImgAltNotRepetitive',
'aLinksAreSeparatedByPrintableCharacters',
'aMustNotHaveJavascriptHref',
'aSuspiciousLinkText',
'documentVisualListsAreMarkedUp',
'headerH1',
'headerH2',
'headerH3',
'imgAltIsDifferent',
'imgAltIsTooLong',
'imgAltNotEmptyInAnchor',
'imgAltTextNotRedundant',
'imgHasAlt',
'linkHasAUniqueContext',
'pNotUsedAsHeader',
'tableDataShouldHaveTh',
'tableNotUsedForLayout'
]
},
toolbar: 'Basic',
toolbar_Basic: [
{ name: 'tools', items: [ 'A11ychecker' ] },
{ name: 'document', items: [ 'Source' ] },
{ name: 'styles', items: [ 'Format' ] },
{ name: 'basicstyles', items: [ 'Bold', 'Italic' ] },
{ name: 'lists', items: ['NumberedList', 'BulletedList']},
{ name: 'tools', items: [ 'ShowBlocks' ] },
{ name: 'links', items: [ 'Link', 'Unlink'] },
{ name: 'images', items: [ 'Image'] },
{ name: 'clipboard', items: [ 'PasteText' ] }
]
};
Am i doing something wrong? is it a bug? what would solve this issue im having? Any help / suggestions are welcome