- Issue created by @sandeshyadav
The list of headers at Numbering settings should populate accordingly when Header minimum level or Header maximum level is changed at Header settings.
admin/structure/toc
).admin/structure/toc/manage/default
).Uncaught RangeError: once ID must not be empty or contain spaces
The issue is caused by the missing ID in the once
method. It can be resolved by adding any unique id to once
. In toc_api/js/toc_type.js, change the following:
Before
$(once('.js-toc-type-options-header-min, .js-toc-type-options-header-max', context)).change(toggleHeaders);
After
$(once('ANY_UNIQUE_ID', '.js-toc-type-options-header-min, .js-toc-type-options-header-max', context)).change(toggleHeaders);
Active
1.5
Code