christophernoel / ext-ux-htmleditor-plugins

Automatically exported from code.google.com/p/ext-ux-htmleditor-plugins
0 stars 0 forks source link

insert 2nd time link #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. select text
2. insert link
3. try select the sam elink or add next
4. [crash] ext-ba...ents.js (wiersz 2619)
this.dom is undefined
[Break on this error] var q = getQueue(this.dom.id); 

What is the expected output? What do you see instead?
>show insert window

What version of the product are you using? On what operating system?
>last

Please provide any additional information below.

close replace by hide  this.LinkWindow  help but dont work right (old text
select is showed)

Original issue reported on code.google.com by andrzejb...@gmail.com on 4 May 2010 at 8:44

GoogleCodeExporter commented 8 years ago
This patch seems to have done the trick for me, it sometimes still complains 
about the selection, but this is a bug in the getSelectedText override in 
Ext.ux.form.HtmlEditor.MidasCommand file.

This patch is on top of the other 5 patches from 
http://code.google.com/p/ext-ux-htmleditor-plugins/issues/detail?id=6

And it also fixes the bug that the selected text which is replaced with the 
link is only read once. Because when you selected a text, opened the dialog, 
closed the dialog, selected a different text and reopened the dialog, the 
original selection was still shown in the input field of the dialog.

Original comment by IvDo...@gmail.com on 27 Jul 2010 at 8:51

Attachments: