<!-- Generated by SpecStory, Markdown v2.1.0 -->

# 2025-10-31 16:16:28Z

<!-- cursoride Session 4c7d2fda-00ef-4a95-84f4-b41390990540 (2025-10-31 16:16:28Z) -->

_**User (2025-10-31 14:54:38Z)**_

@edit.js We added a placeholder= to this block with instructions, but they are not visible unless the block is selected. is there anyway to better identify this block when it is not selected? I'd love for that placeholder to be visible all the time if possible.

---

_**Agent (default)**_

Checking how other blocks handle this and reviewing WordPress block patterns to show a placeholder when the block is not selected.


_**Agent (default)**_

<tool-use data-tool-type="read" data-tool-name="read_file">
<details><summary>Tool use: **read_file** • Read file: /Users/Prytania/Dropbox/WordPress/Inventory Presser/plugins/inventory-presser/src/blocks/description/edit.js</summary>

</details>
</tool-use>

<tool-use data-tool-type="read" data-tool-name="read_file"><details>
<summary>Tool use: **read_file**</summary>

</details></tool-use>

_**Agent (default)**_

<tool-use data-tool-type="unknown" data-tool-name="codebase_search">
<details>
<summary>Tool use: **codebase_search**</summary>


Parameters:

```json
{
  "codeResults": [
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 49
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/description/edit.js",
        "signatures": {}
      },
      "score": 0.35668841004371643
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/model/edit.js",
        "signatures": {}
      },
      "score": 0.35457518696784973
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/make/edit.js",
        "signatures": {}
      },
      "score": 0.3521759510040283
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/color/edit.js",
        "signatures": {}
      },
      "score": 0.3499397933483124
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/beam/edit.js",
        "signatures": {}
      },
      "score": 0.3357386589050293
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/engine/edit.js",
        "signatures": {}
      },
      "score": 0.3316833972930908
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/last-modified/edit.js",
        "signatures": {}
      },
      "score": 0.3312529921531677
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/body-style/edit.js",
        "signatures": {}
      },
      "score": 0.3265380859375
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/interior-color/edit.js",
        "signatures": {}
      },
      "score": 0.3204542100429535
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/vin/edit.js",
        "signatures": {}
      },
      "score": 0.31928956508636475
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/title-status/edit.js",
        "signatures": {}
      },
      "score": 0.31871116161346436
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/stock-number/edit.js",
        "signatures": {}
      },
      "score": 0.31789788603782654
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 3,
            "line": 25
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/year-make-model-and-trim/edit.js",
        "signatures": {}
      },
      "score": 0.313312292098999
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/length/edit.js",
        "signatures": {}
      },
      "score": 0.30781328678131104
    },
    {
      "codeBlock": {
        "range": {
          "endPosition": {
            "column": 2,
            "line": 33
          },
          "startPosition": {
            "column": 1,
            "line": 1
          }
        },
        "relativeWorkspacePath": "src/blocks/trim/edit.js",
        "signatures": {}
      },
      "score": 0.305247962474823
    }
  ],
  "explanation": "",
  "query": "How do blocks show placeholder text when not selected in the editor?",
  "repositoryInfo": {
    "orthogonalTransformSeed": 6308982098672407,
    "preferredEmbeddingModel": "EMBEDDING_MODEL_UNSPECIFIED",
    "relativeWorkspacePath": ".",
    "repoName": "5a26c3e1-2367-4e37-aaba-63a54ad0ac26",
    "repoOwner": "auth0|user_01JXZMQ8XHQ8Y96GRWHQJCM038"
  },
  "topK": 15
}
```
Result:

```json
{
  "codeResults": [
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { useBlockProps, BlockControls, RichText } from '@wordpress/block-editor';\r\nimport { useSelect } from '@wordpress/data';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\n\r\n/**\r\n * The edit function describes the structure of your block in the context of the\r\n * editor. This represents what the editor will render when the block is used.\r\n *\r\n * @see https://developer.wordpress.org/block-editor/developers/block-api/block-edit-save/#edit\r\n *\r\n * @return {WPElement} Element to render.\r\n */\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn (\r\n\t\t\t\u003c\u003e\r\n\t\t\t\t\u003cRichText { ...blockProps } value={ meta[ invp_blocks.meta_prefix + 'description' ] }\u003e\u003c/RichText\u003e\r\n\t\t\t\u003c/\u003e\r\n\t\t);\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003c\u003e\r\n\t\t\t\u003cBlockControls\u003e\u003c/BlockControls\u003e\r\n\t\t\t\u003cRichText \r\n\t\t\t\t{ ...blockProps }\r\n\t\t\t\ttagName=\"p\"\r\n\t\t\t\tonChange={ ( newValue ) =\u003e { setMeta( { ...meta, [invp_blocks.meta_prefix + 'description']: newValue } ); } }\r\n\t\t\t\tallowedFormats={ [ 'core/bold', 'core/italic', 'core/link', 'core/text-color' ] }\r\n\t\t\t\tvalue={ meta[ invp_blocks.meta_prefix + 'description' ] }\r\n\t\t\t\tplaceholder={ __( 'Enter vehicle description...', 'inventory-presser' ) }\r\n\t\t\t\u003e\u003c/RichText\u003e\r\n\t\t\u003c/\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { useBlockProps, BlockControls, RichText } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useSelect } from '@wordpress/data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "lineNumber": 9,
            "text": "/**\r"
          },
          {
            "lineNumber": 10,
            "text": " * The edit function describes the structure of your block in the context of the\r"
          },
          {
            "lineNumber": 11,
            "text": " * editor. This represents what the editor will render when the block is used.\r"
          },
          {
            "lineNumber": 12,
            "text": " *\r"
          },
          {
            "lineNumber": 13,
            "text": " * @see https://developer.wordpress.org/block-editor/developers/block-api/block-edit-save/#edit\r"
          },
          {
            "lineNumber": 14,
            "text": " *\r"
          },
          {
            "lineNumber": 15,
            "text": " * @return {WPElement} Element to render.\r"
          },
          {
            "lineNumber": 16,
            "text": " */\r"
          },
          {
            "isSignature": true,
            "lineNumber": 17,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 18,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 19,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 20,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 21,
            "text": "\r"
          },
          {
            "lineNumber": 22,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 23,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 24,
            "text": "\t *\r"
          },
          {
            "lineNumber": 25,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 26,
            "text": "\t */\r"
          },
          {
            "lineNumber": 27,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\treturn (\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t\u003c\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\t\t\u003cRichText { ...blockProps } value={ meta[ invp_blocks.meta_prefix + 'description' ] }\u003e\u003c/RichText\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t\t\t\u003c/\u003e\r"
          },
          {
            "lineNumber": 33,
            "text": "\t\t);\r"
          },
          {
            "lineNumber": 34,
            "text": "\t}\r"
          },
          {
            "lineNumber": 35,
            "text": "\r"
          },
          {
            "lineNumber": 36,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 37,
            "text": "\t\t\u003c\u003e\r"
          },
          {
            "lineNumber": 38,
            "text": "\t\t\t\u003cBlockControls\u003e\u003c/BlockControls\u003e\r"
          },
          {
            "lineNumber": 39,
            "text": "\t\t\t\u003cRichText \r"
          },
          {
            "lineNumber": 40,
            "text": "\t\t\t\t{ ...blockProps }\r"
          },
          {
            "lineNumber": 41,
            "text": "\t\t\t\ttagName=\"p\"\r"
          },
          {
            "lineNumber": 42,
            "text": "\t\t\t\tonChange={ ( newValue ) =\u003e { setMeta( { ...meta, [invp_blocks.meta_prefix + 'description']: newValue } ); } }\r"
          },
          {
            "lineNumber": 43,
            "text": "\t\t\t\tallowedFormats={ [ 'core/bold', 'core/italic', 'core/link', 'core/text-color' ] }\r"
          },
          {
            "lineNumber": 44,
            "text": "\t\t\t\tvalue={ meta[ invp_blocks.meta_prefix + 'description' ] }\r"
          },
          {
            "lineNumber": 45,
            "text": "\t\t\t\tplaceholder={ __( 'Enter vehicle description...', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 46,
            "text": "\t\t\t\u003e\u003c/RichText\u003e\r"
          },
          {
            "lineNumber": 47,
            "text": "\t\t\u003c/\u003e\r"
          },
          {
            "lineNumber": 48,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 49,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { useBlockProps, BlockControls, RichText } from '@wordpress/block-editor';\r\nimport { useSelect } from '@wordpress/data';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\n\r\n/**\r\n * The edit function describes the structure of your block in the context of the\r\n * editor. This represents what the editor will render when the block is used.\r\n *\r\n * @see https://developer.wordpress.org/block-editor/developers/block-api/block-edit-save/#edit\r\n *\r\n * @return {WPElement} Element to render.\r\n */\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn (\r\n\t\t\t\u003c\u003e\r\n\t\t\t\t\u003cRichText { ...blockProps } value={ meta[ invp_blocks.meta_prefix + 'description' ] }\u003e\u003c/RichText\u003e\r\n\t\t\t\u003c/\u003e\r\n\t\t);\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003c\u003e\r\n\t\t\t\u003cBlockControls\u003e\u003c/BlockControls\u003e\r\n\t\t\t\u003cRichText \r\n\t\t\t\t{ ...blockProps }\r\n\t\t\t\ttagName=\"p\"\r\n\t\t\t\tonChange={ ( newValue ) =\u003e { setMeta( { ...meta, [invp_blocks.meta_prefix + 'description']: newValue } ); } }\r\n\t\t\t\tallowedFormats={ [ 'core/bold', 'core/italic', 'core/link', 'core/text-color' ] }\r\n\t\t\t\tvalue={ meta[ invp_blocks.meta_prefix + 'description' ] }\r\n\t\t\t\tplaceholder={ __( 'Enter vehicle description...', 'inventory-presser' ) }\r\n\t\t\t\u003e\u003c/RichText\u003e\r\n\t\t\u003c/\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 48
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/description/edit.js"
      },
      "score": 0.35668841004371643
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'model' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Model', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'model' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'model']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'model' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Model', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'model' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'model']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'model' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Model', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'model' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'model']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/model/edit.js"
      },
      "score": 0.35457518696784973
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'make' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Make', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'make' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'make']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'make' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Make', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'make' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'make']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'make' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Make', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'make' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'make']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/make/edit.js"
      },
      "score": 0.3521759510040283
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'color' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Color', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'color' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'color']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'color' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Color', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'color' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'color']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'color' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Color', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'color' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'color']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/color/edit.js"
      },
      "score": 0.3499397933483124
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'beam' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Beam', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'beam' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'beam']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'beam' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Beam', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'beam' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'beam']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'beam' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Beam', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'beam' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'beam']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/beam/edit.js"
      },
      "score": 0.3357386589050293
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { invpFormatCurrency( meta[ invp_blocks.meta_prefix + 'engine' ] ) } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Engine', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'engine' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'engine']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { invpFormatCurrency( meta[ invp_blocks.meta_prefix + 'engine' ] ) } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Engine', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'engine' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'engine']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { invpFormatCurrency( meta[ invp_blocks.meta_prefix + 'engine' ] ) } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Engine', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'engine' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'engine']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/engine/edit.js"
      },
      "score": 0.3316833972930908
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'last_modified' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Last Modified', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'last_modified' ] }\r\n\t\t\t\treadOnly = { 'readonly'}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'last_modified' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Last Modified', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'last_modified' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\treadOnly = { 'readonly'}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'last_modified' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Last Modified', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'last_modified' ] }\r\n\t\t\t\treadOnly = { 'readonly'}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/last-modified/edit.js"
      },
      "score": 0.3312529921531677
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'body_style' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Body Style', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'body_style' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'body_style']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'body_style' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Body Style', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'body_style' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'body_style']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'body_style' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Body Style', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'body_style' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'body_style']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/body-style/edit.js"
      },
      "score": 0.3265380859375
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'interior_color' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Interior Color', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'interior_color' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'interior_color']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'interior_color' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Interior Color', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'interior_color' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'interior_color']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'interior_color' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Interior Color', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'interior_color' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'interior_color']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/interior-color/edit.js"
      },
      "score": 0.3204542100429535
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'vin' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'VIN', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'vin' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'vin']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'vin' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'VIN', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'vin' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'vin']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'vin' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'VIN', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'vin' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'vin']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/vin/edit.js"
      },
      "score": 0.31928956508636475
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'title_status' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Title Status', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'title_status' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'title_status']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'title_status' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Title Status', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'title_status' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'title_status']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'title_status' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Title Status', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'title_status' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'title_status']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/title-status/edit.js"
      },
      "score": 0.31871116161346436
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'stock_number' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Stock Number', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'stock_number' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'stock_number']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'stock_number' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Stock Number', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'stock_number' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'stock_number']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'stock_number' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Stock Number', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'stock_number' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'stock_number']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/stock-number/edit.js"
      },
      "score": 0.31789788603782654
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn \u003cdiv { ...blockProps }\u003e\u003ch1\u003e { meta[ invp_blocks.meta_prefix + 'year' ] + ' ' }\r\n\t\t\t{ meta[ invp_blocks.meta_prefix + 'make' ] + ' '}\r\n\t\t\t{ meta[ invp_blocks.meta_prefix + 'model' ] + ' ' }\r\n\t\t\t{ meta[ invp_blocks.meta_prefix + 'trim' ] } \u003c/h1\u003e\u003c/div\u003e;\r\n\t}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn \u003cdiv { ...blockProps }\u003e\u003ch1\u003e { meta[ invp_blocks.meta_prefix + 'year' ] + ' ' }\r"
          },
          {
            "lineNumber": 22,
            "text": "\t\t\t{ meta[ invp_blocks.meta_prefix + 'make' ] + ' '}\r"
          },
          {
            "lineNumber": 23,
            "text": "\t\t\t{ meta[ invp_blocks.meta_prefix + 'model' ] + ' ' }\r"
          },
          {
            "lineNumber": 24,
            "text": "\t\t\t{ meta[ invp_blocks.meta_prefix + 'trim' ] } \u003c/h1\u003e\u003c/div\u003e;\r"
          },
          {
            "lineNumber": 25,
            "text": "\t}\r"
          },
          {
            "lineNumber": 26,
            "text": "\r"
          },
          {
            "lineNumber": 27,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t"
          },
          {
            "isSignature": true,
            "lineNumber": 51,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn \u003cdiv { ...blockProps }\u003e\u003ch1\u003e { meta[ invp_blocks.meta_prefix + 'year' ] + ' ' }\r\n\t\t\t{ meta[ invp_blocks.meta_prefix + 'make' ] + ' '}\r\n\t\t\t{ meta[ invp_blocks.meta_prefix + 'model' ] + ' ' }\r\n\t\t\t{ meta[ invp_blocks.meta_prefix + 'trim' ] } \u003c/h1\u003e\u003c/div\u003e;\r\n\t}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 50
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/year-make-model-and-trim/edit.js"
      },
      "score": 0.313312292098999
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'length' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Length', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'length' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'length']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'length' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Length', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'length' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'length']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'length' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Length', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'length' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'length']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/length/edit.js"
      },
      "score": 0.30781328678131104
    },
    {
      "codeBlock": {
        "contents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'trim' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Trim Level', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'trim' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'trim']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "detailedLines": [
          {
            "lineNumber": 1,
            "text": "/**\r"
          },
          {
            "lineNumber": 2,
            "text": " * WordPress dependencies\r"
          },
          {
            "lineNumber": 3,
            "text": " */\r"
          },
          {
            "lineNumber": 4,
            "text": "import { __ } from '@wordpress/i18n';\r"
          },
          {
            "lineNumber": 5,
            "text": "import { TextControl } from '@wordpress/components';\r"
          },
          {
            "lineNumber": 6,
            "text": "import { useEntityProp } from '@wordpress/core-data';\r"
          },
          {
            "lineNumber": 7,
            "text": "import { useBlockProps } from '@wordpress/block-editor';\r"
          },
          {
            "lineNumber": 8,
            "text": "\r"
          },
          {
            "isSignature": true,
            "lineNumber": 9,
            "text": "export default function Edit( { isSelected, context } ) {\r"
          },
          {
            "lineNumber": 10,
            "text": "\tconst { postType } = context;\r"
          },
          {
            "lineNumber": 11,
            "text": "\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r"
          },
          {
            "lineNumber": 12,
            "text": "\tconst blockProps = useBlockProps();\r"
          },
          {
            "lineNumber": 13,
            "text": "\r"
          },
          {
            "lineNumber": 14,
            "text": "\t/**\r"
          },
          {
            "lineNumber": 15,
            "text": "\t * Use isSelected to render the lost focus output that mimics the front-end\r"
          },
          {
            "lineNumber": 16,
            "text": "\t *\r"
          },
          {
            "lineNumber": 17,
            "text": "\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r"
          },
          {
            "lineNumber": 18,
            "text": "\t */\r"
          },
          {
            "lineNumber": 19,
            "text": "\tif ( ! isSelected ) {\r"
          },
          {
            "lineNumber": 20,
            "text": "\t\t// Do not show the input field when the block is not selected.\r"
          },
          {
            "lineNumber": 21,
            "text": "\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'trim' ] } \u003c/div\u003e );\r"
          },
          {
            "lineNumber": 22,
            "text": "\t}\r"
          },
          {
            "lineNumber": 23,
            "text": "\r"
          },
          {
            "lineNumber": 24,
            "text": "\treturn (\r"
          },
          {
            "lineNumber": 25,
            "text": "\t\t\u003cdiv { ...blockProps }\u003e\r"
          },
          {
            "lineNumber": 26,
            "text": "\t\t\t\u003cTextControl\r"
          },
          {
            "lineNumber": 27,
            "text": "\t\t\t\tlabel    = { __( 'Trim Level', 'inventory-presser' ) }\r"
          },
          {
            "lineNumber": 28,
            "text": "\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'trim' ] }\r"
          },
          {
            "lineNumber": 29,
            "text": "\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'trim']: newValue } )}\r"
          },
          {
            "lineNumber": 30,
            "text": "\t\t\t/\u003e\r"
          },
          {
            "lineNumber": 31,
            "text": "\t\t\u003c/div\u003e\r"
          },
          {
            "lineNumber": 32,
            "text": "\t);\r"
          },
          {
            "isSignature": true,
            "lineNumber": 33,
            "text": "}"
          }
        ],
        "originalContents": "/**\r\n * WordPress dependencies\r\n */\r\nimport { __ } from '@wordpress/i18n';\r\nimport { TextControl } from '@wordpress/components';\r\nimport { useEntityProp } from '@wordpress/core-data';\r\nimport { useBlockProps } from '@wordpress/block-editor';\r\n\r\nexport default function Edit( { isSelected, context } ) {\r\n\tconst { postType } = context;\r\n\tconst [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );\r\n\tconst blockProps = useBlockProps();\r\n\r\n\t/**\r\n\t * Use isSelected to render the lost focus output that mimics the front-end\r\n\t *\r\n\t * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#isselected\r\n\t */\r\n\tif ( ! isSelected ) {\r\n\t\t// Do not show the input field when the block is not selected.\r\n\t\treturn ( \u003cdiv { ...blockProps }\u003e { meta[ invp_blocks.meta_prefix + 'trim' ] } \u003c/div\u003e );\r\n\t}\r\n\r\n\treturn (\r\n\t\t\u003cdiv { ...blockProps }\u003e\r\n\t\t\t\u003cTextControl\r\n\t\t\t\tlabel    = { __( 'Trim Level', 'inventory-presser' ) }\r\n\t\t\t\tvalue    = { meta[ invp_blocks.meta_prefix + 'trim' ] }\r\n\t\t\t\tonChange = {(newValue) =\u003e setMeta( { ...meta, [invp_blocks.meta_prefix + 'trim']: newValue } )}\r\n\t\t\t/\u003e\r\n\t\t\u003c/div\u003e\r\n\t);\r\n}",
        "range": {
          "endPosition": {
            "column": 1,
            "line": 32
          },
          "startPosition": {}
        },
        "relativeWorkspacePath": "src/blocks/trim/edit.js"
      },
      "score": 0.305247962474823
    }
  ]
}
```
Status: **completed**


</details>
</tool-use>

<tool-use data-tool-type="unknown" data-tool-name="codebase_search"><details>
<summary>Tool use: **codebase_search**</summary>

</details></tool-use>

_**Agent (default)**_

<tool-use data-tool-type="search" data-tool-name="grep">
<details>
<summary>Tool use: **grep** • Grep for "placeholder.*RichText|RichText.*placeholder" in "src/blocks" • 0 matches</summary>

Output mode: content


_No matches found_

</details>
</tool-use>

<tool-use data-tool-type="search" data-tool-name="grep"><details>
<summary>Tool use: **grep**</summary>

</details></tool-use>

_**Agent (default)**_

Checking how RichText behaves when empty to show a placeholder when not selected:


_**Agent (default)**_

<tool-use data-tool-type="unknown" data-tool-name="list_dir">
<details>
<summary>Tool use: **list_dir**</summary>


Parameters:

```json
{
  "targetDirectory": "/Users/Prytania/Dropbox/WordPress/Inventory Presser/plugins/inventory-presser/src/blocks/description"
}
```
Result:

```json
{
  "directoryTreeRoot": {
    "absPath": "/Users/Prytania/Dropbox/WordPress/Inventory Presser/plugins/inventory-presser/src/blocks/description",
    "childrenFiles": [
      {
        "name": "block.json"
      },
      {
        "name": "edit.js"
      },
      {
        "name": "index.js"
      },
      {
        "name": "render.php"
      },
      {
        "name": "save.js"
      }
    ],
    "childrenWereProcessed": true,
    "fullSubtreeExtensionCounts": {
      ".js": 3,
      ".json": 1,
      ".php": 1
    },
    "numFiles": 5
  }
}
```
Status: **completed**


</details>
</tool-use>

<tool-use data-tool-type="unknown" data-tool-name="list_dir"><details>
<summary>Tool use: **list_dir**</summary>

</details></tool-use>

_**Agent (default)**_

Updating the block to show a placeholder when not selected and empty. RichText doesn't show placeholders when not selected, so we'll render a placeholder element in that case:


_**Agent (default)**_

<tool-use data-tool-type="write" data-tool-name="search_replace">

<details><summary>Tool use: **search_replace** • Edit file: /Users/Prytania/Dropbox/WordPress/Inventory Presser/plugins/inventory-presser/src/blocks/description/edit.js</summary>

**Chunk 1**
Lines added: 2, lines removed: 0

```diff
@@ -19,4 +19,6 @@
  	const [ meta, setMeta ] = useEntityProp( 'postType', postType, 'meta' );
  	const blockProps = useBlockProps();
+ 	const descriptionValue = meta[ invp_blocks.meta_prefix + 'description' ] || '';
+ 	const isEmpty = ! descriptionValue || descriptionValue.trim() === '';
  
  	/**
```

**Chunk 2**
Lines added: 11, lines removed: 2

```diff
@@ -26,8 +28,17 @@
  	 */
  	if ( ! isSelected ) {
- 		// Do not show the input field when the block is not selected.
+ 		// Show placeholder when empty, otherwise show the content
+ 		if ( isEmpty ) {
+ 			return (
+ 				&lt;div { ...blockProps }&gt;
+ 					&lt;p style={ { opacity: 0.62, fontStyle: 'italic' } }&gt;
+ 						{ __( 'Enter vehicle description...', 'inventory-presser' ) }
+ 					&lt;/p&gt;
+ 				&lt;/div&gt;
+ 			);
+ 		}
  		return (
  			&lt;&gt;
- 				&lt;RichText { ...blockProps } value={ meta[ invp_blocks.meta_prefix + 'description' ] }&gt;&lt;/RichText&gt;
+ 				&lt;RichText { ...blockProps } value={ descriptionValue }&gt;&lt;/RichText&gt;
  			&lt;/&gt;
  		);
```

</details>

</tool-use>

<tool-use data-tool-type="write" data-tool-name="search_replace"><details>
<summary>Tool use: **search_replace**</summary>

</details></tool-use>

_**Agent (default)**_

<tool-use data-tool-type="write" data-tool-name="search_replace">

<details><summary>Tool use: **search_replace** • Edit file: /Users/Prytania/Dropbox/WordPress/Inventory Presser/plugins/inventory-presser/src/blocks/description/edit.js</summary>

**Chunk 1**
Lines added: 1, lines removed: 1

```diff
@@ -53,5 +53,5 @@
  				onChange={ ( newValue ) =&gt; { setMeta( { ...meta, [invp_blocks.meta_prefix + 'description']: newValue } ); } }
  				allowedFormats={ [ 'core/bold', 'core/italic', 'core/link', 'core/text-color' ] }
- 				value={ meta[ invp_blocks.meta_prefix + 'description' ] }
+ 				value={ descriptionValue }
  				placeholder={ __( 'Enter vehicle description...', 'inventory-presser' ) }
  			&gt;&lt;/RichText&gt;
```

</details>

</tool-use>

<tool-use data-tool-type="write" data-tool-name="search_replace"><details>
<summary>Tool use: **search_replace**</summary>

</details></tool-use>

_**Agent (default)**_

Checking for linting errors:


_**Agent (default)**_

<tool-use data-tool-type="unknown" data-tool-name="read_lints">
<details>
<summary>Tool use: **read_lints**</summary>


Parameters:

```json
{
  "paths": [
    "src/blocks/description/edit.js"
  ]
}
```
Result:

```json
{
  "linterErrorsByFile": [
    {
      "errors": [
        {
          "message": "'useSelect' is declared but its value is never read.",
          "range": {
            "endPosition": {
              "column": 45,
              "line": 6
            },
            "startPosition": {
              "column": 1,
              "line": 6
            }
          },
          "severity": "DIAGNOSTIC_SEVERITY_HINT"
        }
      ],
      "relativeWorkspacePath": "src/blocks/description/edit.js"
    }
  ],
  "path": "src/blocks/description/edit.js"
}
```
Status: **completed**


</details>
</tool-use>

<tool-use data-tool-type="unknown" data-tool-name="read_lints"><details>
<summary>Tool use: **read_lints**</summary>

</details></tool-use>

_**Agent (default)**_

<tool-use data-tool-type="read" data-tool-name="read_file">
<details><summary>Tool use: **read_file** • Read file: /Users/Prytania/Dropbox/WordPress/Inventory Presser/plugins/inventory-presser/src/blocks/description/edit.js</summary>

</details>
</tool-use>

<tool-use data-tool-type="read" data-tool-name="read_file"><details>
<summary>Tool use: **read_file**</summary>

</details></tool-use>

_**Agent (default)**_

Updated the block to show a placeholder when it's not selected and empty.

Changes:
1. **Extracted the description value** into a `descriptionValue` variable for reuse
2. **Added an `isEmpty` check** to detect when the description is empty or just whitespace
3. **When not selected and empty**, it displays a styled placeholder paragraph with italic text and reduced opacity
4. **When not selected but has content**, it displays the RichText as before
5. **When selected**, it continues to show the RichText with the placeholder (original behavior)

The placeholder ("Enter vehicle description...") is now visible when the block is not selected and empty, making the block easier to identify. The placeholder uses 62% opacity and italic styling to distinguish it from actual content.

After you rebuild the block assets, the placeholder will appear when the description field is empty, whether the block is selected or not.
