diff --git a/src/blocks/route/editor.css b/src/blocks/route/editor.css deleted file mode 100644 index 683f6b8..0000000 --- a/src/blocks/route/editor.css +++ /dev/null @@ -1,9 +0,0 @@ -/** - * The following styles get applied inside the editor only. - * - * Replace them with your own styles or remove the file completely. - */ - -.wp-block-wp-strava-route { - border: 1px dotted #f00; -} diff --git a/src/blocks/route/src/index.js b/src/blocks/route/index.js similarity index 100% rename from src/blocks/route/src/index.js rename to src/blocks/route/index.js diff --git a/src/blocks/route/index.php b/src/blocks/route/index.php deleted file mode 100644 index f649e64..0000000 --- a/src/blocks/route/index.php +++ /dev/null @@ -1,56 +0,0 @@ - 'route-block-editor', - 'editor_style' => 'route-block-editor', - 'style' => 'route-block', - ) ); -} -add_action( 'init', 'route_block_init' ); diff --git a/src/blocks/route/style.css b/src/blocks/route/style.css deleted file mode 100644 index 7d3fb35..0000000 --- a/src/blocks/route/style.css +++ /dev/null @@ -1,11 +0,0 @@ -/** - * The following styles get applied both on the front of your site and in the editor. - * - * Replace them with your own styles or remove the file completely. - */ - -.wp-block-wp-strava-route { - background-color: #000; - color: #fff; - padding: 2px; -}