Can not save post with specific block
-
Hello,
I have the same problem as https://www.ads-software.com/support/topic/custom-blocks-page-not-saving-edits/ and hope to be able to provide some more information for analysis.
So: as soon as I use a certain block in a post, I can no longer save the post. If I switch to the code editor in the block editor, it works.
The block uses a custom template. I have emptied it completely as a test, but it doesn’t change anything.
I have already ruled out all other plugins as the cause. WordPress is up to date.
Here is the export of the block in question:
[
{
"id": 2498,
"title": "Team Members",
"icon": "<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\" \/><\/svg>",
"keywords": [],
"slug": "lazyblock\/team-members",
"description": "",
"category": "widgets",
"category_label": "widgets",
"supports": {
"customClassName": true,
"anchor": false,
"html": false,
"multiple": true,
"inserter": true,
"reusable": true,
"lock": true,
"align": [
"wide",
"full"
],
"ghostkit": {
"effects": false,
"position": false,
"spacings": false,
"frame": false,
"transform": false,
"customCSS": false,
"display": false,
"attributes": false
}
},
"controls": {
"control_9cb84d41ca": {
"type": "number",
"name": "count",
"default": "3",
"label": "Anzahl",
"help": "",
"child_of": "",
"placement": "content",
"width": "100",
"hide_if_not_selected": "false",
"required": "true",
"translate": "false",
"save_in_meta": "false",
"save_in_meta_name": "",
"min": "1",
"max": "10",
"step": "1",
"placeholder": "",
"characters_limit": ""
},
"control_0f5a0b440e": {
"type": "url",
"name": "team-url",
"default": "\/ueber-uns\/team\/",
"label": "Team-Seite",
"help": "",
"child_of": "",
"placement": "content",
"width": "100",
"hide_if_not_selected": "false",
"required": "true",
"translate": "false",
"save_in_meta": "false",
"save_in_meta_name": "",
"placeholder": "",
"characters_limit": ""
}
},
"code": {
"output_method": "template",
"editor_html": "",
"editor_callback": "",
"editor_css": "",
"frontend_html": "",
"frontend_callback": "",
"frontend_css": "",
"show_preview": "always",
"single_output": false
},
"styles": [],
"condition": []
}
]Any ideas?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.