The point of this module is to allow the definition of many threshold/class pairs. The way this could work is to let each pair apply its class up until the threshold.
Example:
A text field containing text of 255 characters. By default, there's no threshold/class pair. Formatter allows you to add n pairs. First pair will apply the class between 1 character and set threshold. Over that threshold will be a default "field" for defining a class as well which will be applied. However, if you another pair, there'll be a new interval based on the pair's threshold which will apply the class inside that interval.
Issue fork char_count_formatter-3231407
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