diff --git a/core/modules/quickedit/js/quickedit.js b/core/modules/quickedit/js/quickedit.js index 539fc3e..ef0b006 100644 --- a/core/modules/quickedit/js/quickedit.js +++ b/core/modules/quickedit/js/quickedit.js @@ -272,7 +272,7 @@ // outside of "the entity DOM node": it's rendered as the page title. So in // this case, we must find the entity in the mandatory "content" region. if (entityElement.length === 0) { - entityElement = $('.region-content').find(entityElementSelector); + entityElement = $('main').find(entityElementSelector); } var entityInstanceID = entityElement .get(0) diff --git a/core/modules/system/templates/radios.html.twig b/core/modules/system/templates/radios.html.twig index bf38830..e397644 100644 --- a/core/modules/system/templates/radios.html.twig +++ b/core/modules/system/templates/radios.html.twig @@ -12,4 +12,4 @@ * @ingroup themeable */ #} -{{ children }} +{{ children }} diff --git a/core/modules/system/templates/region.html.twig b/core/modules/system/templates/region.html.twig index b2c5471..e009455 100644 --- a/core/modules/system/templates/region.html.twig +++ b/core/modules/system/templates/region.html.twig @@ -14,14 +14,8 @@ * @ingroup themeable */ #} -{% - set classes = [ - 'region', - 'region-' ~ region|clean_class, - ] -%} {% if content %} - + {{ content }} {% endif %}