When I configure a Flexible layout row, I want to add an id attribute for the row. Setting an ID would allow linking to a row using a URL fragment. Example:
- Row:
<section id="about" ...> - Link:
<a href="#about" ...>
The custom ID would be very helpful building one pager websites or landing pages where navigation links point to different sections of the same page.
At the moment, it's possible to add a Region name and an Additional row class via the "Configure row" dialog. I suggest to also provide the option for a custom ID.
Alternatives that have been considered I didn't find a way to set custom IDs via the Flexible layout template or via the configuration file of a Flexible layout.
Recent comments
I created Paragraphs Aplenty (partly a port of a Drupal module) which provides a bunch of useful paragraph types. Feel free to use or be inspired for your own. The one thing I provides...
Your most useful type fields for Paragraphs
I use Paragraphs a lot too. A module I created quite recently and have just expanded the capabilities is Heading Style Field. You can select the style of the heading from No heading and No style...
Your most useful type fields for Paragraphs
Paragraphs are awesome. I always use them, when editors should be able to create appealing (landing) pages without ever messing with markup. Editors usually love that workflow. They...
Your most useful type fields for Paragraphs