- Issue created by @kmv
- π¬π§United Kingdom kmv
I note that clear_tokens was moved to the editor's config in v4.
So, for anyone who may need the workaround in the meantime, you can change the default behaviour via:
drush config:set editor.editor.iff_ace_editor settings.clear_tokens true
- πΊπΈUnited States bobbysaul
Hello,
Sorry for being some time before getting back to this. With the update to version 4 of the module the checkbox for clearing tokens if they are empty was moved from the module's settings form (/admin/config/inline_formatter_field/settings) into the editor setting (/admin/config/content/formats/manage/iff_ace_editor).There is a small note in the release notes β , but I guess it is not very clear. Sorry, for the confusion.
Note that `iff_ace_editor` is the machine name for the default editor that this module is set up to use although this could be changed (which is what config your drush command changes). In which case, depending on the editor type the settings could be different. But, for all editors of type Ace Editor (iff_ace_editor), they will have the same configuration settings.
Hopefully this makes sense.
- π¬π§United Kingdom kmv
Confirmed. I can indeed see it over in the text formatters.
I can totally see why it's been moved there, but honestly, I would never have thought to look there; I think of that area of the config as being for editor stuff rather than token stuff. But that confusion can be cleared up with a documentation change. Thanks for the clarification!
And thanks for the awesome module. One of the most incredible and yet underrated and unknown IMHO.