Skip to content
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

feat(LP-92): 202407 entityembed lp 92 #413

Merged
merged 9 commits into from
Sep 16, 2024
Merged
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
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"drupal/core-recommended": "^10.3.1",
"drupal/devel": "^5.1",
"drupal/dynamic_entity_reference": "^3.1",
"drupal/entity_embed": "^1.6",
"drupal/entitygroupfield": "^2",
"drupal/eu_cookie_compliance": "^1.24",
"drupal/eu_cookie_compliance_gtm": "^2.1",
Expand All @@ -88,6 +89,7 @@
"drupal/openid_connect_azure_b2c": "1.0.1-beta1",
"drupal/openid_connect_windows_aad": "^2.0@beta",
"drupal/permissions_filter": "^1.3",
"drupal/poll": "^1.6",
"drupal/preview_link": "^2",
"drupal/published_corrected_date": "^2.0",
"drupal/replicate": "^1.3",
Expand Down
202 changes: 201 additions & 1 deletion composer.lock

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

13 changes: 13 additions & 0 deletions config/default/core.entity_view_mode.poll.teaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 3dc52bce-4670-488d-9543-7c62d3e3bf09
langcode: en
status: true
dependencies:
module:
- poll
_core:
default_config_hash: KBJ_x1GRUQhqBleLQhbHwJ2zA2uVjhL9m6TO17_Knmg
id: poll.teaser
label: Teaser
description: ''
targetEntityType: poll
cache: true
3 changes: 3 additions & 0 deletions config/default/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ module:
ecc_cookie_compliance: 0
ecc_menu: 0
editor: 0
embed: 0
entity: 0
entity_browser: 0
entity_browser_entity_form: 0
entity_embed: 0
entity_hierarchy: 0
entity_hierarchy_breadcrumb: 0
entity_reference_facet_link: 0
Expand Down Expand Up @@ -155,6 +157,7 @@ module:
path: 0
path_alias: 0
permissions_filter: 0
poll: 0
preview_link: 0
published_corrected_date: 0
redirect: 0
Expand Down
8 changes: 4 additions & 4 deletions config/default/editor.editor.wysiwyg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ settings:
- bold
- code
- underline
- poll
plugins:
ckeditor5_heading:
enabled_headings:
Expand Down Expand Up @@ -75,19 +76,18 @@ settings:
- '<dd>'
- '<mark>'
- '<b>'
- '<div class="alert-danger alert-primary alert-success callout callout-primary callout-success callout-danger callout-teal callout-carbon callout-yellow inset inset-text">'
- '<div>'
- '<blockquote cite>'
- '<ol type>'
- '<h2 id>'
- '<h3 id>'
- '<h4 id>'
- '<h5 id>'
- '<h6 id>'
- '<ul type class="list-checked">'
- '<ul type>'
- '<img data-entity-type data-entity-uuid data-caption>'
- '<drupal-media data-caption title>'
- '<a hreflang title class="btn btn-start">'
- '<p class="alert-danger alert-primary alert-success callout callout-primary callout-success callout-danger callout-teal callout-carbon callout-yellow inset-text">'
- '<a hreflang title>'
ckeditor5_style:
styles:
-
Expand Down
18 changes: 18 additions & 0 deletions config/default/embed.button.node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: e20d8ebd-027b-4582-9e78-2586c6fea399
langcode: en
status: true
dependencies:
module:
- entity_embed
- node
_core:
default_config_hash: xgvZUh-eaMilacE1XYCQ9nLH-2-meOjCyofXSO82gqg
label: Node
id: node
type_id: entity
type_settings:
entity_type: node
bundles: { }
display_plugins: { }
icon: { }
icon_uuid: null
22 changes: 22 additions & 0 deletions config/default/embed.button.poll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: e5a27b49-37d5-42fd-998f-fd72b5789444
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.poll.teaser
module:
- entity_embed
- poll
label: Poll
id: poll
type_id: entity
type_settings:
entity_type: poll
bundles: { }
display_plugins:
- 'view_mode:poll.teaser'
entity_browser: ''
entity_browser_settings:
display_review: false
icon: { }
icon_uuid: null
4 changes: 4 additions & 0 deletions config/default/embed.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_core:
default_config_hash: Ed6LXVlKotwVS4tx7_rnsL-6NlBoD-PLu3KFPAvpNMc
file_scheme: public
upload_directory: embed_buttons
3 changes: 3 additions & 0 deletions config/default/entity_embed.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_core:
default_config_hash: 2qpyZdlgcQidJq1yw1VHXLCl5jDi4dKBWFWLQR4VDfw
rendered_entity_mode: false
9 changes: 8 additions & 1 deletion config/default/filter.format.wysiwyg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- core.entity_view_mode.media.square
module:
- editor
- entity_embed
- linkit
- localgov_publications
- media
Expand All @@ -24,6 +25,12 @@ filters:
status: true
weight: -44
settings: { }
entity_embed:
id: entity_embed
provider: entity_embed
status: true
weight: 100
settings: { }
filter_align:
id: filter_align
provider: filter
Expand All @@ -48,7 +55,7 @@ filters:
status: true
weight: -47
settings:
allowed_html: '<br> <p class="alert alert-info inset alert-danger alert-primary alert-success callout callout-primary callout-success callout-danger callout-teal callout-carbon callout-yellow inset-text"> <h1> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <a class="external-link pdf-link button button-start col-sm-6 mt-3 btn btn-start" hreflang title href data-entity-type data-entity-uuid data-entity-substitution> <cite> <dl> <dt> <dd> <mark> <b> <div class="alert-danger alert-primary alert-success callout callout-primary callout-success callout-danger callout-teal callout-carbon callout-yellow inset inset-text"> <blockquote cite> <ol type start> <ul type class="list-checked"> <img data-entity-type data-entity-uuid data-caption src alt height width data-align> <drupal-media data-caption title data-entity-type data-entity-uuid alt data-view-mode data-align> <strong> <em> <u> <code> <li> <table> <tr> <td rowspan colspan> <th rowspan colspan> <thead> <tbody> <tfoot> <caption> <i class>'
allowed_html: '<br> <p class="alert alert-info inset"> <h1> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <a class="external-link pdf-link button button-start col-sm-6 mt-3" hreflang title href data-entity-type data-entity-uuid data-entity-substitution> <cite> <dl> <dt> <dd> <mark> <b> <div> <blockquote cite> <ol type start> <ul type> <img data-entity-type data-entity-uuid data-caption src alt height width data-align> <drupal-media data-caption title data-entity-type data-entity-uuid alt data-view-mode data-align> <strong> <em> <u> <code> <li> <table> <tr> <td rowspan colspan> <th rowspan colspan> <thead> <tbody> <tfoot> <caption> <i class> <drupal-entity alt title data-align data-caption data-entity-embed-display data-entity-embed-display-settings data-view-mode data-entity-uuid data-langcode data-embed-button="poll node" data-entity-type="poll node">'
filter_html_help: true
filter_html_nofollow: false
filter_html_escape:
Expand Down
Loading
Loading