Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"drupal/pantheon_advanced_page_cache": "2.3.3",
"drupal/paragraphs": "^1.17",
"drupal/paragraphs_edit": "^3.0",
"drupal/paragraphs_modal_add": "^1.0",
"drupal/password_policy": "^4.0",
"drupal/pathauto": "^1.12",
"drupal/pluggable_entity_view_builder": "^1.1",
Expand Down
47 changes: 46 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ module:
page_cache: 0
pantheon_advanced_page_cache: 0
paragraphs_edit: 0
paragraphs_modal_add: 0
paragraphs_simple_edit: 0
password_policy_blacklist: 0
password_policy_character_types: 0
password_policy_length: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
field.widget.settings.paragraphs_simple_edit_default:
type: mapping
label: 'Paragraphs simple edit widget settings'
mapping:
title:
type: string
label: 'Title'
title_plural:
type: string
label: 'Title plural'
edit_mode:
type: string
label: 'Edit mode'
closed_mode:
type: string
label: 'Closed mode'
autocollapse:
type: string
label: 'Autocollapse'
closed_mode_threshold:
type: integer
label: 'Closed mode threshold'
add_mode:
type: string
label: 'Add mode'
form_display_mode:
type: string
label: 'Form display mode'
default_paragraph_type:
type: string
label: 'Default paragraph type'
features:
type: sequence
label: 'Features'
sequence:
type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* Claro theme automatically adds the .button--small class, which introduces
extra margin and padding. These overrides remove the unwanted spacing
applied to the link wrapper. */
.paragraph-simple-edit--add-button.dropbutton.button--small {
margin: 0;
padding: 0;
}

/* Claro theme applies certain admin styles (e.g., accordion, tabs) based on
class names. These overrides ensure paragraph widgets display correctly
regardless of their type. */
.paragraph-simple-edit--add-button li {
box-shadow: none;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: 'Paragraphs Simple Edit'
type: module
description: 'Provides a paragraphs field widget that allows editing, adding, and deleting paragraphs on dedicated pages.'
package: Paragraphs
core_version_requirement: ^10 || ^11
dependencies:
- paragraphs_edit:paragraphs_edit
- paragraphs_modal_add:paragraphs_modal_add
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
widget.claro:
version: 1.x
css:
theme:
css/paragraphs_simple_edit.claro.css: {}
Loading
Loading