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.
I'm trying get linkit to work, however the "Insert link" button is disabled.
As seen below in the attached image, the button is un-clickable.
Upon reviewing the source, the button is disabled. Any idea how to fix this?
<input class="linkit-insert linkit-insert-processed form-button-disabled" type="submit" id="edit-linkit-insert" name="op" value="Insert link" disabled="">
Comment | File | Size | Author |
---|---|---|---|
#7 | linkit-input-validation-2128665-7.patch | 454 bytes | peter.walter |
Comments
Comment #1
Kirk CreditAttribution: Kirk commentedComment #2
anonI have never seen this before. Could it be you template that is preprocessing the form or something? Does it work if you change to a default theme?
Comment #3
gmclelland CreditAttribution: gmclelland commentedThis is happening to me as well. I can't paste any link into the link field because it is disabled. If I start typing in that field the "Insert Link" button becomes enabled, but I still can't paste into the link field.
I'm using it with a Body field that uses TinyMce + WYSIWYG module. I'm using the default seven theme.
Comment #4
gmclelland CreditAttribution: gmclelland commentedDisregard my comment. It is working fine for me.
Comment #5
anonComment #6
shenzhuxi CreditAttribution: shenzhuxi commentedIt happens when you use mouse right click to paste the link without any keyboard input. The button works fine if you use keyboard to paste
Comment #7
peter.walter CreditAttribution: peter.walter commentedHopefully this patch fixes the problem by changing the validation handler attaching to .change instead of .keyup.
Comment #8
peter.walter CreditAttribution: peter.walter commentedComment #11
anonComment #12
anonMarked #2184277: Pasting with mouse right-click doesn't activate 'Insert link'-button as duplicate. That issue also have a patch.
Comment #13
anonsolves it in all browsers.