Skip to content

Commit

Permalink
Merge stable into master
Browse files Browse the repository at this point in the history
  • Loading branch information
CKTravisBot authored Dec 6, 2022
2 parents b3b974b + b65acee commit f5d3a02
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
9 changes: 0 additions & 9 deletions docs/_snippets/framework/tutorials/external-data-widget.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
<head>
<meta http-equiv="Content-Security-Policy" content="connect-src 'self' https://api2.binance.com https://cksource.com http://*.cke-cs.com">
<meta name="x-cke-crawler-ignore-patterns" content='{
"console-error": "*",
"request-failure": "api2.binance.com",
"response-failure": "api2.binance.com"
}'>
</head>

<style>
.external-data-widget {
border: 2px solid rgb(242, 169, 0);
Expand Down
11 changes: 11 additions & 0 deletions docs/_snippets/framework/tutorials/external-data-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,14 @@ ClassicEditor
.catch( error => {
console.error( error.stack );
} );

// For a totally unknown reason, Travis and Binance do not like each other and the test fail on CI.
const metaElement = document.createElement( 'meta' );

metaElement.name = 'x-cke-crawler-ignore-patterns';
metaElement.content = JSON.stringify( {
'request-failure': 'binance.com',
'console-error': [ 'Access to fetch at', 'Failed to fetch' ]
} );

document.head.appendChild( metaElement );

0 comments on commit f5d3a02

Please sign in to comment.