Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Functions/Enqueues.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ public function __construct() {
* Enqueues the block assets for the editor
*/
public function multiblock_enqueue_block_assets() {
$asset_file = include( PluginPaths::plugin_path() . 'build/multi-block-editor.asset.php' );

wp_enqueue_script(
'multi-block-editor-js',
PluginPaths::plugin_url() . 'build/multi-block-editor.js',
array( 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins' ),
'0.1.0',
$asset_file['dependencies'],
$asset_file['version'],
false
);
}
Expand All @@ -43,11 +45,13 @@ public function multiblock_enqueue_block_assets() {
* Enqueues the block assets for the frontend
*/
public function multiblock_enqueue_frontend_assets() {
$asset_file = include( PluginPaths::plugin_path() . 'build/multi-block-frontend.asset.php' );

wp_enqueue_script(
'multi-block-frontend-js',
PluginPaths::plugin_url() . 'build/multi-block-frontend.js',
array(),
'0.1.0',
$asset_file['dependencies'],
$asset_file['version'],
true
);
}
Expand Down
13 changes: 1 addition & 12 deletions build/blocks/dynamic/news-feed/index-rtl.css
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/dynamic/news-feed/editor.scss ***!
\*****************************************************************************************************************************************************************************************************************************************************************/
.wp-block-wp-multi-block-starter-news-feed {
background-color: rgb(117, 29, 0);
color: #fff;
padding: 5px 8px;
}

.wp-block-wp-multi-block-starter-news-feed {
border: 1px dotted #ffffff;
}
.wp-block-wp-multi-block-starter-news-feed{background-color:#751d00;border:1px dotted #fff;color:#fff;padding:5px 8px}
2 changes: 1 addition & 1 deletion build/blocks/dynamic/news-feed/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '2328e98c2bc68dcdeaee');
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'd2da4824ee277cbfcd1a');
15 changes: 1 addition & 14 deletions build/blocks/dynamic/news-feed/index.css
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/dynamic/news-feed/editor.scss ***!
\*****************************************************************************************************************************************************************************************************************************************************************/
.wp-block-wp-multi-block-starter-news-feed {
background-color: rgb(117, 29, 0);
color: #fff;
padding: 5px 8px;
}

.wp-block-wp-multi-block-starter-news-feed {
border: 1px dotted #ffffff;
}

/*# sourceMappingURL=index.css.map*/
.wp-block-wp-multi-block-starter-news-feed{background-color:#751d00;border:1px dotted #fff;color:#fff;padding:5px 8px}
1 change: 0 additions & 1 deletion build/blocks/dynamic/news-feed/index.css.map

This file was deleted.

298 changes: 1 addition & 297 deletions build/blocks/dynamic/news-feed/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading