You are not logged in.

#1 2008-04-15 16:57:07

lkeijmel
Member
From: The Netherlands
Registered: 2008-03-13
Posts: 104
Website

magic with images

Hi,

I've found something strange in TinyMCE and I think it's a bug(well I almost know it is).

If you have a image in your editor and you go to the image edit dialog and you select some text from the editor and paste it for example in the image description or image title field and hit "update" the magic happens.

If the text you copied still is selected it will disappear and the image is added again next to the original image you want to edit.

I guess this one is for sourceforge?

grtz,
Laurence


Grtz, Laurence

Offline

 

#2 2008-04-15 17:12:35

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11441
Website

Re: magic with images

This one will not be fixed. Use dialog_type : "modal" to block the users selection. Thanks anyway for noticing it.

http://wiki.moxiecode.com/index.php/Tin … ialog_type


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#3 2008-04-16 08:51:20

lkeijmel
Member
From: The Netherlands
Registered: 2008-03-13
Posts: 104
Website

Re: magic with images

Allright, thnx for the answer. But it only blocks user interaction in firefox and other non-IE browsers if you use the inlinepopup plugin so you still can select inside the editor and lose focus of the image.

In IE it shows a nice 'Dialog from webpage'...if you don't use the inlinepopups, else you can select text inside the editor.

It may not be a bug, but I think if you want to update a image, you just want to update the image you selected not insert a new one. It also happens if you edit a image and select another one in your editor. The one you selected last gets replaced bij the values in the image dialog.

Grtz,
Laurence

Last edited by lkeijmel (2008-04-16 09:58:53)


Grtz, Laurence

Offline

 

#4 2008-04-16 10:49:55

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11441
Website

Re: magic with images

All dialogs will fail if you mock around in the background content while having a edit dialog open for a specific element. The only thing we can do is to block the user interaction, since they might do any thing like delete all contents while having a image selected. I don't know it this is a common thing, not seen any reports so far of this user behavior so it might be a very minor problem and can be avoided with the inlinepopups and the dialog_type modal.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#5 2008-04-16 11:27:20

lkeijmel
Member
From: The Netherlands
Registered: 2008-03-13
Posts: 104
Website

Re: magic with images

Okay, it make sense.

But there is one problem with the modal dialoge with inlinepopups and IE6 on win2k. There ain't a overlay over the page so the content of the editor isn't blocked. It will add a nice white box on top of the page.

Grtz,
Laurence


Grtz, Laurence

Offline

 

#6 2008-04-16 11:45:02

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11441
Website

Re: magic with images

Yes, IE version so old that they don't have the filter CSS function might have problems. IE6SP2 has this support a.f.a.i.k. and it has been around for a while. You could how ever change the CSS to use a semi transparent gif instead.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB