Comments (4)
Thank you for your suggestion.
The new 'Add' button should show when first inserting the empty block and always shown at the end when the block is selected and being edited:
The two inserter buttons for inserting blocks feel a little strange to me since they have the same role.
The approach I suggest is to automatically insert one Social Link block when you insert a Social Links block:
The only block that can be included in a Social Links block is a Social Link block, and its initial behavior is the same as that of a Buttons block:
And if no Social Icon block exists, it will only show the default inserter:
This is also similar to the current Buttons block behavior:
Are there any accessibility concerns with this approach? Whichever direction we go in, I feel it's better to unify the behavior of the social icon block and the button block.
from gutenberg.
As another example, the specifications for the navigation block are as follows:
When a block is not selected: A dot border is displayed.
When a block is selected: A large inserter button is displayed.
from gutenberg.
I think this is along what I was suggesting previously, by always having an icon inserter to the right of the icons, when interacting with the block.
from gutenberg.
The two inserter buttons for inserting blocks feel a little strange
I agree. I'm unsure whether the black 'plus' ineerter should be kept. It is worth noting that right now it is not operable with a keyboard after a first social link has been added. See #60120
This block is not operable with a keyboard. As such, either we fix the inserter or we should replace it.
from gutenberg.
Related Issues (20)
- Accessing template editor from a post or page no longer edits in context of that post or page HOT 5
- Improve filter chip display in narrow containers / viewports HOT 5
- Uploaded font incorrect post_name (slug) when font title contains LetterNumber (or NumberLetter)
- Search Results Title block: Rename title HOT 6
- Patterns Page: Hide preview column by default
- DataViews: Active page is not highlighted properly in list view.
- DataViews: Routing related issues.
- WP_Post_Type->template is not used in site editor HOT 3
- Composer: update to WordPressCS 3.1.0 HOT 1
- Wordpress 6.5 “Expand on click“ function for images KO: BUG HOT 1
- fontsizepicker old version(?) HOT 1
- The Button component has incorrect padding with text and icon position right HOT 2
- Content-Security-Policy (CSP) add support for trusted types (centralized input validation of text inserted into DOM XSS sinks)
- Navigation block's "Open on click" mode bug on nested submenus HOT 1
- Is solution for AVERAGE_READING_RATE incomplete for i18n?
- Copy pasting from a word document sometimes leads to empty links in subheads HOT 1
- Font Library: Are there any un-documented reasons why "Install Fonts" would be missing? HOT 5
- Using ``icon`` property as an object in block variation breaks Gutenberg editor
- Navigation Link URL setting in Inspector Controls does not allow you to delete last character HOT 2
- Fatal Error: Cannot redeclare function() in render.php HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gutenberg.