Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Currently it is only possible to use the insert function on node body textareas.
On comment textareas, term textareas or other textareas is the insert action without function.
Solution
The patch fix the bug - the insert action is allowed/possible on all textareas.
Comment | File | Size | Author |
---|---|---|---|
insert.js_.patch | 579 bytes | quiptime |
Comments
Comment #1
quiptime CreditAttribution: quiptime commentedbump
Comment #2
chiappa CreditAttribution: chiappa commentedthank you!! but how does this work? i would like to use the insert function in comments.
##edit.
I see you can add the insert field when you edit the content type, seems to be working fine without this patch.
Comment #3
quiptime CreditAttribution: quiptime commented@chiappa,
The code
The class node-form never exist if you are add or edit an comment.
The class node-form never exist if you are add or edit an term.
Comment #4
quicksketchThanks, this was much less of an issue in Drupal 6 when other entities did not support fields. I've committed this patch to the 7.x branch.