diff --git a/core/modules/filter/filter.filter_html.admin.es6.js b/core/modules/filter/filter.filter_html.admin.es6.js index b60638dafa2692ef79ed6261a595cd6e73210e75..260f98ce70f3712a113e99205f504352f6438d5e 100644 --- a/core/modules/filter/filter.filter_html.admin.es6.js +++ b/core/modules/filter/filter.filter_html.admin.es6.js @@ -90,7 +90,7 @@ that.$allowedHTMLFormItem = $(formItem); that.$allowedHTMLDescription = that.$allowedHTMLFormItem .closest('.js-form-item') - .find('.description'); + .find('#edit-filters-filter-html-settings-allowed-html--description'); that.userTags = that._parseSetting(formItem.value); // Update the new allowed tags based on added text editor features. diff --git a/core/modules/filter/filter.filter_html.admin.js b/core/modules/filter/filter.filter_html.admin.js index a25268bfe721ad5d1cb742d9a50ab89bbf016ca1..0dc585c7a33a77a36f39e436d609b0ec70913732 100644 --- a/core/modules/filter/filter.filter_html.admin.js +++ b/core/modules/filter/filter.filter_html.admin.js @@ -42,7 +42,7 @@ const that = this; once('filter-filter_html-updating', '[name="filters[filter_html][settings][allowed_html]"]', context).forEach(formItem => { that.$allowedHTMLFormItem = $(formItem); - that.$allowedHTMLDescription = that.$allowedHTMLFormItem.closest('.js-form-item').find('.description'); + that.$allowedHTMLDescription = that.$allowedHTMLFormItem.closest('.js-form-item').find('#edit-filters-filter-html-settings-allowed-html--description'); that.userTags = that._parseSetting(formItem.value); $(document).on('drupalEditorFeatureAdded', (e, feature) => { that.newFeatures[feature.name] = feature.rules;