PDA

View Full Version : Ext Editor and setting background color



kkothari
12 Aug 2009, 3:26 PM
Hi,
I have an implementation of the Ext editor to provide a WYSIWYG editor on my web page. On clicking some text on the page i bring up the editor and then copy all the styles of the underlying element to the text in the editor.

Its all good except when i try to copy the background color.

If the background color is "transperent" i get some white padding at the top and the rest is grayed out.
If the background color is something else like red, i get the same white padding at the top but the rest of the editor has the color as expected.

Please see the attached example.

Thanks!

**************

The forum site doesnt seem to upload zip files correctly. Could you please download the attached text file, rename it to html and place it in a folder structure where it has access to the linked css and js resources?

Thanks!

geewhizbang
12 Aug 2009, 5:00 PM
nm