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.
When I use this and I attempt to click on the Linkit button in the Wysiwyg using Chrome (latest version), I obtain:
Uncaught TypeError: Cannot read property 'profile' of undefined editor_plugin.js:21
(anonymous function) editor_plugin.js:21
k.create.execCommand tiny_mce.js?mvhm1x:1
i.onclick tiny_mce.js?mvhm1x:1
(anonymous function) tiny_mce.js?mvhm1x:1
j tiny_mce.js?mvhm1x:1
y
Comment | File | Size | Author |
---|---|---|---|
#6 | Screenshot - 130116 - 15:59:40.png | 20.8 KB | dgtlmoon |
Comments
Comment #1
anonComment #2
aasarava CreditAttribution: aasarava commentedI can reproduce this error using Linkit 7.x-3.1 and Ckeditor 7.x-1.13 and Chrome 32.0.1700. Fortunately, the patch in #2115763 fixes the problem.
https://drupal.org/node/2115763
Comment #3
chrisfromredfinFor me it was just because there wasn't a LinkIt profile associated with this input format, even though the LinkIt button appeared there through WYSIWYG.
Comment #4
dgtlmoon CreditAttribution: dgtlmoon commentedI got this error after updating to 3.5 from 3.3
Comment #5
dgtlmoon CreditAttribution: dgtlmoon commentedCan also reproduce in 3.x after an update from a previous version
Comment #6
dgtlmoon CreditAttribution: dgtlmoon commentedI have two existing profiles
I've tried adding a new profile but still I get the same error
Comment #7
dgtlmoon CreditAttribution: dgtlmoon commentedComment #8
dgtlmoon CreditAttribution: dgtlmoon commentedThis resolved it in my case https://www.drupal.org/node/2358219#comment-10338357
Actually so did trying it from a completely fresh browser, drupal cache clear did not fix the issue for me