diff --git a/oik-css.php b/oik-css.php index 2f6f5a2..26f7783 100644 --- a/oik-css.php +++ b/oik-css.php @@ -283,7 +283,8 @@ function oik_css_register_dynamic_blocks() { 'render_callback'=>'oik_css_dynamic_block_css', 'attributes' =>[ 'css' =>[ 'type'=>'string' ], - 'text'=>[ 'type'=>'string' ] + 'text'=>[ 'type'=>'string' ], + 'src' => ['type'=>'string'] ] , 'editor_script' => 'oik-css-blocks-js' , 'editor_style' => null @@ -297,7 +298,8 @@ function oik_css_register_dynamic_blocks() { 'attributes' =>[ 'lang' =>[ 'type'=>'string' ], 'text' =>[ 'type'=>'string' ], - 'content'=>[ 'type'=>'string' ] + 'content'=>[ 'type'=>'string' ], + 'src' => ['type' => 'string'] ] , 'editor_script' => 'oik-css-blocks-js' , 'editor_style' => null @@ -383,5 +385,4 @@ function oik_css_boot_libs() { $loaded = include_once( $oik_boot_file ); } oik_lib_fallback( __DIR__ . '/libs' ); -} - +} \ No newline at end of file