Problem/Motivation
When I go into my text format and turn off customize headings (after I have already added some custom headings), the custom headings still override the default headings.
Steps to reproduce
- Enable module
- Enable 'customize headings' for one of my text formats
- Add some custom headings and save the text format
- Disable 'customize headings' for my text format
- Try to use that text format and see that it is still using the custom headings, rather than the default ones
Proposed resolution
We could get rid of the customize headings toggle all-together, and just have this module update the text format config when it is enabled or disabled. This would especially make sense with the other issue I raised about making sure to have default headings available in the custom headings config by default when the module is enabled: https://www.drupal.org/project/ckeditor_custom_headings/issues/3593361
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3593370-custom-headings-override.patch | 768 bytes | dkmishra |
Issue fork ckeditor_custom_headings-3593370
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
dkmishra commentedPatch attached
Comment #5
dieterholvoet commentedTested, works great. Thanks for the contribution!
Comment #7
dieterholvoet commented