Loading core/modules/quickedit/js/quickedit.js +3 −2 Changes for core/modules/quickedit/js/quickedit.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -369,9 +369,10 @@ var entityElement = $(fieldElement).closest(entityElementSelector); // In the case of a full entity view page, the entity title is rendered // 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. // this case, we find the main element of the page and use it as a full // entity ancestor. if (entityElement.length === 0) { entityElement = $('.region-content').find(entityElementSelector); entityElement = $('.js-quickedit-main-content').find(entityElementSelector); } var entityInstanceID = entityElement .get(0) Loading core/modules/system/templates/page.html.twig +1 −1 Changes for core/modules/system/templates/page.html.twig: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ {{ page.help }} <main role="main"> <main role="main" class="js-quickedit-main-content"> <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #} <div class="layout-content"> Loading core/modules/system/templates/radios.html.twig +1 −1 Changes for core/modules/system/templates/radios.html.twig: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,4 +12,4 @@ * @ingroup themeable */ #} <div{{ attributes.addClass('form-radios') }}>{{ children }}</div> <div{{ attributes }}>{{ children }}</div> core/modules/system/templates/region.html.twig +1 −7 Changes for core/modules/system/templates/region.html.twig: 1 added line, 7 removed lines. Original line number Diff line number Diff line Loading @@ -14,14 +14,8 @@ * @ingroup themeable */ #} {% set classes = [ 'region', 'region-' ~ region|clean_class, ] %} {% if content %} <div{{ attributes.addClass(classes) }}> <div{{ attributes }}> {{ content }} </div> {% endif %} core/themes/bartik/templates/page.html.twig +1 −1 Changes for core/themes/bartik/templates/page.html.twig: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ <div id="main-wrapper" class="layout-main-wrapper layout-container clearfix"> <div id="main" class="layout-main clearfix"> {{ page.breadcrumb }} <main id="content" class="column main-content" role="main"> <main id="content" class="column main-content js-quickedit-main-content" role="main"> <section class="section"> <a id="main-content" tabindex="-1"></a> {{ title_prefix }} Loading Loading
core/modules/quickedit/js/quickedit.js +3 −2 Changes for core/modules/quickedit/js/quickedit.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -369,9 +369,10 @@ var entityElement = $(fieldElement).closest(entityElementSelector); // In the case of a full entity view page, the entity title is rendered // 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. // this case, we find the main element of the page and use it as a full // entity ancestor. if (entityElement.length === 0) { entityElement = $('.region-content').find(entityElementSelector); entityElement = $('.js-quickedit-main-content').find(entityElementSelector); } var entityInstanceID = entityElement .get(0) Loading
core/modules/system/templates/page.html.twig +1 −1 Changes for core/modules/system/templates/page.html.twig: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ {{ page.help }} <main role="main"> <main role="main" class="js-quickedit-main-content"> <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #} <div class="layout-content"> Loading
core/modules/system/templates/radios.html.twig +1 −1 Changes for core/modules/system/templates/radios.html.twig: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,4 +12,4 @@ * @ingroup themeable */ #} <div{{ attributes.addClass('form-radios') }}>{{ children }}</div> <div{{ attributes }}>{{ children }}</div>
core/modules/system/templates/region.html.twig +1 −7 Changes for core/modules/system/templates/region.html.twig: 1 added line, 7 removed lines. Original line number Diff line number Diff line Loading @@ -14,14 +14,8 @@ * @ingroup themeable */ #} {% set classes = [ 'region', 'region-' ~ region|clean_class, ] %} {% if content %} <div{{ attributes.addClass(classes) }}> <div{{ attributes }}> {{ content }} </div> {% endif %}
core/themes/bartik/templates/page.html.twig +1 −1 Changes for core/themes/bartik/templates/page.html.twig: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ <div id="main-wrapper" class="layout-main-wrapper layout-container clearfix"> <div id="main" class="layout-main clearfix"> {{ page.breadcrumb }} <main id="content" class="column main-content" role="main"> <main id="content" class="column main-content js-quickedit-main-content" role="main"> <section class="section"> <a id="main-content" tabindex="-1"></a> {{ title_prefix }} Loading