-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
If you put a block into a warning state (edit HTML and remove some tags) then the block option 'Edit visually' and 'Edit as HTML' are still available and seem to toggle state, but have no apparent effect on the block.
For simplicity they should probably be removed while the block is showing a warning.
To Reproduce
Steps to reproduce the behavior:
- Type some text in a block
- Edit the block as HTML
- Remove the trailing
</p>
tag - Click outside the block to show a warning
- Click the blocks options to see that 'Edit visually' is still available and toggles to 'Edit as HTML' if selected, but with no change in the block
Expected behavior
The 'Edit visually' and 'Edit as HTML' to be disabled or not present in the menu. I think it will cause confusion when they don't do anything.
Screenshots
Block in warning state shows edit option:
Clicking this toggles the option but has no outward effect:
Metadata
Metadata
Assignees
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.