PDA

View Full Version : Load ExtJs in htmleditor



lossendae
29 Aug 2009, 3:57 AM
Hello,

Is there a simple way to load ExtJs within the iframe of the htmleditor so that i can use the drag & drop features?

Or maybe a more simpler way?

15 Sep 2009, 5:41 AM
what exactly do you want to implement drag and drop with?

lossendae
15 Sep 2009, 9:35 AM
I'm using MODx Revolution CMS which use extensively ExtJS on the backend.

One of the new feature is the ability to drag & drop a property from a tree to the textarea which load a window to set different properties.

You can see a video here (http://www.vimeo.com/5237005)

This feature work well with a default textarea, but if i use tinyMCE or the built in IDE, the drag & drop desn't work anymore (cursor stay on the side of the iframe).

I've visited several topics on the forum which talk about the way to get similar feature to work. Most of them say that we must load ExtJS in the iframe to allow the script to pass the drop target in it.

Maybe there is another way?