Change the 'Add Section' text per layout paragraph type?

Created on 17 April 2023, over 1 year ago
Updated 23 April 2023, over 1 year ago

Is it possible to change the 'Add section' text per layout paragraph type? I don't see an option to change to pin the UI. Would be a great option.

Thanks

F

Feature request
Status

Active

Version

2.0

Component

User interface

Created by

🇮🇪Ireland frankdesign

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @frankdesign
  • 🇧🇷Brazil elber Brazil

    Hi can you give me more details about it ?

  • 🇮🇪Ireland frankdesign

    I mean the text that is displayed in the layout paragraphs field when creating new content. For the most part, Add Section is perfectly fine, but there are some occasions where I would like to change the text, e.g. where each layout paragraph section is a slide in a carousel, then I would like to change the text to Add Slide. See attached pic to see the text that I would like to be able to change.

  • 🇺🇸United States justin2pin

    You should be able to customize the label by implementing hook_preprocess_layout_paragraphs_insert_component_btn($variables). I would start there and see if that gets you what you need.

Production build 0.71.5 2024