Skip to content

Commit

Permalink
Updated docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekbogdanski committed Mar 22, 2023
1 parent d529d17 commit 1e17f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/iframe/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
* Function-based configuration example:
*
* ```javascript
* CKEDITOR.config.iframe_attributes = function( iframe ) {
* config.iframe_attributes = function( iframe ) {
* var youtubeOrigin = 'https://www.youtube.com'
*
* if ( youtubeOrigin.indexOf( iframe.attributes.src ) !== -1 ) {
Expand All @@ -129,7 +129,7 @@
* Object-based configuration example:
*
* ```javascript
* CKEDITOR.config.iframe_attributes = {
* config.iframe_attributes = {
* sandbox: 'allow-scripts allow-same-origin',
* allow: 'autoplay'
* }
Expand Down

0 comments on commit 1e17f04

Please sign in to comment.