Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-inclu.../blocks/file
File: block.json
{
[0] Fix | Delete
"$schema": "https://schemas.wp.org/trunk/block.json",
[1] Fix | Delete
"apiVersion": 3,
[2] Fix | Delete
"name": "core/file",
[3] Fix | Delete
"title": "File",
[4] Fix | Delete
"category": "media",
[5] Fix | Delete
"description": "Add a link to a downloadable file.",
[6] Fix | Delete
"keywords": [ "document", "pdf", "download" ],
[7] Fix | Delete
"textdomain": "default",
[8] Fix | Delete
"attributes": {
[9] Fix | Delete
"id": {
[10] Fix | Delete
"type": "number"
[11] Fix | Delete
},
[12] Fix | Delete
"href": {
[13] Fix | Delete
"type": "string"
[14] Fix | Delete
},
[15] Fix | Delete
"fileId": {
[16] Fix | Delete
"type": "string",
[17] Fix | Delete
"source": "attribute",
[18] Fix | Delete
"selector": "a:not([download])",
[19] Fix | Delete
"attribute": "id"
[20] Fix | Delete
},
[21] Fix | Delete
"fileName": {
[22] Fix | Delete
"type": "rich-text",
[23] Fix | Delete
"source": "rich-text",
[24] Fix | Delete
"selector": "a:not([download])"
[25] Fix | Delete
},
[26] Fix | Delete
"textLinkHref": {
[27] Fix | Delete
"type": "string",
[28] Fix | Delete
"source": "attribute",
[29] Fix | Delete
"selector": "a:not([download])",
[30] Fix | Delete
"attribute": "href"
[31] Fix | Delete
},
[32] Fix | Delete
"textLinkTarget": {
[33] Fix | Delete
"type": "string",
[34] Fix | Delete
"source": "attribute",
[35] Fix | Delete
"selector": "a:not([download])",
[36] Fix | Delete
"attribute": "target"
[37] Fix | Delete
},
[38] Fix | Delete
"showDownloadButton": {
[39] Fix | Delete
"type": "boolean",
[40] Fix | Delete
"default": true
[41] Fix | Delete
},
[42] Fix | Delete
"downloadButtonText": {
[43] Fix | Delete
"type": "rich-text",
[44] Fix | Delete
"source": "rich-text",
[45] Fix | Delete
"selector": "a[download]"
[46] Fix | Delete
},
[47] Fix | Delete
"displayPreview": {
[48] Fix | Delete
"type": "boolean"
[49] Fix | Delete
},
[50] Fix | Delete
"previewHeight": {
[51] Fix | Delete
"type": "number",
[52] Fix | Delete
"default": 600
[53] Fix | Delete
}
[54] Fix | Delete
},
[55] Fix | Delete
"supports": {
[56] Fix | Delete
"anchor": true,
[57] Fix | Delete
"align": true,
[58] Fix | Delete
"spacing": {
[59] Fix | Delete
"margin": true,
[60] Fix | Delete
"padding": true
[61] Fix | Delete
},
[62] Fix | Delete
"color": {
[63] Fix | Delete
"gradients": true,
[64] Fix | Delete
"link": true,
[65] Fix | Delete
"text": false,
[66] Fix | Delete
"__experimentalDefaultControls": {
[67] Fix | Delete
"background": true,
[68] Fix | Delete
"link": true
[69] Fix | Delete
}
[70] Fix | Delete
},
[71] Fix | Delete
"interactivity": true
[72] Fix | Delete
},
[73] Fix | Delete
"editorStyle": "wp-block-file-editor",
[74] Fix | Delete
"style": "wp-block-file"
[75] Fix | Delete
}
[76] Fix | Delete
[77] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function