Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-05-19 12:20:18

gg
New member
Registered: 2010-05-19
Posts: 1

Problem with Justification, Ordered Lists and Bulleted Lists in IE

I'm using Xinha 0.96.1 and have the following problems in IE (these work correctly in Firefox and Chrome).

e.g. selecting the three lines below and clicking the ordered list button will only number the first line, the other lines remain unnumbered (this also applies to bulleted lists)
1. a
b
c

When changing the justification (e.g. left, centre, right), all lines of text in the paragraph are justified and not just the selected lines of text.

The Xinha demo works correctly in IE when doing the above so it appears to be a problem with my implementation.

The following is the Xinha configuration code being used, if other code would help then let me know and I'll post it.

Thanks

---

var xinha_plugins =
[
  'TableOperations',
  'InsertPagebreak',
  'ContextMenu',
  'DynamicCSS'
];

function xinha_init()
{
  if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
  var xinha_config = new Xinha.Config();
  var f=document.forms[0];
  xinha_config.hideSomeButtons(" showhelp ");
  xinha_config.hideSomeButtons(" about ");
  xinha_config.hideSomeButtons(" clearfonts ");
  xinha_config.hideSomeButtons(" saveas ");
  xinha_config.hideSomeButtons(" removeformat ");
  xinha_config.hideSomeButtons(" print ");
  xinha_config.showLoading = true;
  xinha_config.pageStyle = 'body { font-family: arial,sans-serif; font-size: 10 pt; }';
  xinha_config.statusBar = false;
  xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins); 
  Xinha.startEditors(xinha_editors);
}

Offline

Board footer

Powered by FluxBB