Unverified Commit 26fc8ebf authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3216214 by Wim Leers, Gauravmahlawat, awset, sonam.chaturvedi, Kristen...

Issue #3216214 by Wim Leers, Gauravmahlawat, awset, sonam.chaturvedi, Kristen Pol: CKEditor + HTML filter UX broken on Claro: "Based on the text editor configuration, these tags have automatically been added:" message never appears

(cherry picked from commit ac69b04e)
parent 36aedf08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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;