-
Notifications
You must be signed in to change notification settings - Fork 384
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
Page Attachment block #3035
Page Attachment block #3035
Conversation
Actually, I didn't try how the attachment would look like with all these together:
Perhaps that could still work as well. Would be great to hear your thoughts as well. |
Love the WYSIWYG edit functionality already!
Adding text & background color options sounds reasonable.
Since we don't have landscape support in the editor yet, using the mobile design in the editor makes sense.
No idea off the top of my head. I wouldn't worry too much about that though. If I select a post to be displayed in that page attachment I'd write the content specific to that attachment anyway.
I'd assume one would want to tweak the template that is used for that anyway. Or perhaps there could be options like "display excerpt", "display full content", "display featured image", "display read more link", etc.
I'm not sure how big of a hassle that would be. It would require us to go back to a linear edit flow for the attachment, showing block movers, disallow dragging, etc. Long term we'd probably want to support that anyway though, soo... 🤷♂ |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I consent. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
9e84b09
to
86bdb54
Compare
…keep-attributes-with-mustache-placeholders-intact * 'develop' of github.com:ampproject/amp-wp: (113 commits) This converts the keyboard cut handler to equal a copy handler to avoid bugs Fix aria-label adding helper function Remove extra line I added in resolving merge conflict Fix alignment of arrow Fix custom CTA text for page attachment Fix cut handler by shortcut Cleanup of duplicated comment Add unit testing to `addVideoAriaLabel` Remove unused piece of code Remove Cloudflare AMP cache since deprecated Handle cut keyboard requests. (#3231) Page Attachment block (#3035) Keyboard & Right-Click Menu Copy + Paste (#3083) Animation Previews (#3104) Make internal methods inaccessible Omit the ecosystem link also when using a core theme Add skipped e2e test for the video block Add array_colum() pollyfill for PHP < 5.5 Add asserts to make sure we are not enqueueing both versions of dashicons Remove useless variable ...
Closes #1973
Adds Page Attachment block, replicates the component's FE behavior.
Todo.