-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide options for invalid block resolution #2132
Comments
That would be very useful, because this now also happens to posts started in the current editor, making migration of content a bit more difficult. If it works on copy-paste, which I believe it does, it should also work when opening old posts in gutenberg. |
This transition should be transparent, without any "invalid block" prompt at all. I'll do some more testing with existing post contents to see where it might be getting caught up. Ideally it should only be the case that this prompt is shown when in fact the content has been modified externally, or directly in the Text / HTML view. In all other cases, it would be very helpful to have clear and repeatable steps to reproduce. |
Oh interesting. In 0.6.0 I've experienced this a few times with posts written in the current editor. I've managed to reproduce it:
The content (text view):
|
Can we close this as addressed? Seems to be working pretty well now. |
Yes, it's in fairly good shape. If we want to preview diffs, let's make a separate issue for that. |
Related: #1929
When a block is detected as invalid, we should offer the user options to view, resolve, or ignore differences. We should be careful in distinguishing from false positives; in the latter case, if we can improve block validation to be more accommodating while remaining accurate, we should seek to do so. This assumes a good understanding of the flows which lead to invalid blocks.
Current dialog:
Possible implementations:
From @mtias at #1929 (comment):
From @mtias at #1929 (comment):
The text was updated successfully, but these errors were encountered: