Ticket #1312 (new defect)

Opened 5 years ago

Last modified 4 years ago

background-color is removed from table cells

Reported by: guest Owned by: gogo
Priority: normal Milestone: Improved table support
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

When using cell properties you can insert a background-color on a cell. This inserts: <td style="background-color:#ff0000...

The next time you open this content in the editor. The background-color is removed.

It's a problem in both IE6 and Firefox3.

Best regards

Henrik Stokbro Andersen henrik.andersen@…

My initialize:

xinha_editors = null; xinha_init = null; xinha_config = null; xinha_plugins = null;

xinha_init = xinha_init ? xinha_init : function() {

xinha_plugins = xinha_plugins ? xinha_plugins : [

'TableOperations', 'ContextMenu', 'InsertAnchor'

];

if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;

xinha_editors = xinha_editors ? xinha_editors : [

'dt_IWContentData'

];

xinha_config = xinha_config ? xinha_config() : new Xinha.Config();

xinha_config.toolbar = [

[ "separator",

"formatblock", "space", "bold", "italic", "separator", "copy", "cut", "paste", "clearfonts", "separator", "undo", "redo", "separator", "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator"

],

[ "insertorderedlist", "insertunorderedlist", "outdent", "indent", "separator",

"inserthorizontalrule", "createlink", "insertimage", "separator", "htmlmode", "popupeditor", "separator", "showhelp", "separator"

],

[ "simpletablecreation", "tablegallery",

"inserttable"

]

];

xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);

Xinha.startEditors(xinha_editors);

}

Xinha._addEvent(window,'load', xinha_init);

Change History

Changed 4 years ago by nicholasbs

  • milestone changed from 0.96 to Improved table support
Note: See TracTickets for help on using tickets.