Opened 13 years ago
Closed 13 years ago
#8223 closed Bug (expired)
Disabling the Advanced tab for links causes "undefined" to be assigned to the name attribute
Reported by: | David Colon | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | |
Keywords: | Cc: |
Description
When disabling the Advanced tab for links using the following:
CKEDITOR.on('dialogDefinition', function (ev) { var dialogName = ev.data.name; var dialogDefinition = ev.data.definition; if (dialogName == 'link' || dialogName == 'image') { dialogDefinition.removeContents('advanced'); } });
The name attribute is being assigned to any edited links as "undefined". This causes the yellow anchor image to be displayed next to the link, causing our users some confusion.
Attachments (1)
Change History (9)
comment:1 Changed 13 years ago by
Status: | new → pending |
---|
Changed 13 years ago by
comment:2 Changed 13 years ago by
This is happening on IE9 running on Windows 7 Ultimate. I have attached our config.js. Also note that we have just integrated CKFinder into CKEditor, in case that has something to do with it.
comment:3 Changed 13 years ago by
I have double checked but still no luck.
Here is what I did:
- I have used your config file (used it for CKEditor standalone and integrated with CKFinder).
- Opened sample page and inserted a link.
- Then I have edited the link and checked it in source mode.
No name attributes were added.
Have I missed something in the above steps?
I have noticed that you are using custom 'GSIHelp'. Have you tried to run your application without it to find out if it isn’t the source of the problem?
Is the issue reproducible in clean CKEditor or only within your application? Because if that’s the case than maybe some custom application settings might be causing this?
Perhaps there is one more thing. Could you tell me if you are using Plain JS version of CKEditor or one of integrations like Java or PHP?
comment:5 Changed 13 years ago by
Have not been able to get back to this, sorry. Will get to it next week.
comment:6 Changed 13 years ago by
@davidiq is the issue still reproducible? If so would you be so kind to answer my questions co that we were able reproduce the issue?
Have you verified that this issue has nothing to do with your custom plugin or custom application settings?
comment:7 Changed 13 years ago by
Keywords: | Advanced Link Anchor removed |
---|---|
Version: | 3.6.1 |
comment:8 Changed 13 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
I have tried your code but no name attribute with undefined value was added. I have probably missed something.
Could you:
Perhaps it would be best if you could provide us with a sample file showing the problem and/or a step by step scenario to reproduce it.
Waiting for your feedback.