Hi,

I have an issue using your plugin.
I installed the last version 8.x-4.x-dev on Drupa 8.0.0.
I created a profile, and when i'm on CKEditor, even i dont choose the added link button, and when i'm trying to save my configuration, i have the following error displayed on chrome console:

An invalid form control with name='editor[settings][plugins][linkit][linkit_profile]' is not focusable.

And cant't save the config.

Any idea please?

Thank
Philae.

CommentFileSizeAuthor
linkit.png359.8 KBphilae_it
linkit.png359.8 KBphilae_it
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

philae_it created an issue. See original summary.

anon’s picture

Priority: Critical » Normal
Issue tags: -editor, -JavaScript, -form, -linkit

I can not reproduce this.

Did you add the linkit button to the active toolbar under toolbar configuration?

philae_it’s picture

Hi,

I dont' know why this is has been disappeared ( may be because i don't save my created profiles ).

Now i can add add the button in the active Toolbar configuration but stil have a javascript error when i'm trying to get my article in the autocomplete popup window.

When i choose an article ( node ) from the list in popup, nothing happen and my input field style empty and got this error in console:

Uncaught TypeError: Cannot read property 'length' of undefined VM7250:137

And this error is thrown in the autocomplete.js in line 137!

if (autocomplete.cache[$autocomplete.attr('id')].length) {

Please click here to see the error

Thank you

anon’s picture

Status: Active » Closed (fixed)

Please download the latest dev version again, The focus code is not used anymore.