Hello,
I know that text formats can be ordered as wanted so the first (toppest) in the list is the default one for CKEditor.
So far, so good.
But, what if I want the default text format for taxonomy description to be different from other content types default text format? It seems the description field is not editable so I can't set it to use required text format...
Any clue about this?
The better would be to be able to set a default text format for a specific vocabulary.
Why that? Because I use Lexicon module to give definitions of selected terms, terms which are in a taxonomy vocabulary. So I have to upgrade the regular 'HTML filtered' text format to use lexicon feature (and put at top of the list, so it's the default text format for all textearea fields) and create a new 'HTML filtered with no lexicon' for taxonomy so taxonomy descriptions don't have lexicon feature avoiding a circular loop. But I don't know how to tell taxonomy description field to use 'HTML filtered with no lexicon' text format.
Comments
Comment #1
dmsmidtI think this question doesn't really belong here since it is about configuring the input format.
Did you look at the Better Formats module? I guess this will solve your problems.
Comment #2
philySorry for posting in the wrong place, I'll try to find the right one.
Anyway, thanks a lot for Better Formats module but it seems to be usable only on user created fields.
The taxonomy description field is built in core and cannot be customized using Better Formats.
Comment #3
batigolixIt seems that the default input format for the taxonomy term description field cannot be altered in Drupal 7.
Work is underway to make this possible in Drupal 8: #569434: Remove taxonomy term description field; provide description field for forum taxonomy
Comment #4
jcisio commentedAgree with #1.
Comment #5
batigolixThen we can mark this as a duplicate of #569434: Remove taxonomy term description field; provide description field for forum taxonomy
Comment #6
Ouach commentedA quick and dirty example to solve your problem:
UPDATE taxonomy_term_data SET format = 'full_html' WHERE vid = (SELECT vid FROM taxonomy_vocabulary WHERE machine_name = 'lexicon')