You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a custom breakpoint is deleted, and elements have Custom CSS defined specifically for that breakpoint (via Advanced > Custom CSS), the page cannot be saved. Attempting to save results in a "Your server returned a 500 error" message.
To resolve the issue, affected elements must be identified, and the Custom CSS must be manually removed. This process is time-consuming, and all Custom CSS for other breakpoints is lost in the process. Ideally, deleting a custom breakpoint should automatically remove associated Custom CSS to prevent the issue.
Steps to Reproduce
Set up a WordPress installation with Breakdance installed and activated.
Add a custom breakpoint under Preferences > Breakpoints (e.g., 1200px).
Create a page using the Breakdance editor.
Add an element (e.g., "Text") and navigate to Advanced > Custom CSS.
Add CSS code for the custom breakpoint > Save Page
Delete the custom breakpoint from the Preferences > Breakpoints menu.
Attempt to save the page.
Expected Behavior
The page should save without errors, and any Custom CSS targeting the deleted breakpoint should either:
Be automatically removed
Prompt the user to confirm its removal or reassignment.
Optionally, warn the user about the implications of deleting the breakpoint and provide a preview of the impacted elements or CSS.
This issue disrupts the workflow and may lead to data loss (Custom CSS) for valid breakpoints.
It can be difficult to locate elements with Custom CSS tied to the deleted breakpoint, especially on larger pages.
Description
When a custom breakpoint is deleted, and elements have Custom CSS defined specifically for that breakpoint (via Advanced > Custom CSS), the page cannot be saved. Attempting to save results in a "Your server returned a 500 error" message.
To resolve the issue, affected elements must be identified, and the Custom CSS must be manually removed. This process is time-consuming, and all Custom CSS for other breakpoints is lost in the process. Ideally, deleting a custom breakpoint should automatically remove associated Custom CSS to prevent the issue.
Steps to Reproduce
Expected Behavior
The page should save without errors, and any Custom CSS targeting the deleted breakpoint should either:
This issue disrupts the workflow and may lead to data loss (Custom CSS) for valid breakpoints.
It can be difficult to locate elements with Custom CSS tied to the deleted breakpoint, especially on larger pages.
Environment
WordPress Version: 6.7.1
Breakdance Version: 2.2
PHP Version: 8.3
Browser: Safari (18)
The text was updated successfully, but these errors were encountered: