Hi,
In the 2.6 Beta, if you apply the same Format (paragraph format from the 'Format' combobox) twice on the same paragraph, the second time you'll get a JavaScript error. This only happens on IE (I've only tested on IE7). On Firefox (v2.0.0.12) it works fine (the paragraph format remains applied on the current paragraph). You can also see this problem in the online demo.
Another issue related to this 'Format' combobox: I've defined 2 custom formats for the 'Format' combobox; both format definitions are using the 'DIV' element, but with different CSS styles. When I apply the custom formats to text paragraphs in the editor, the text is formatted as expected. The problem is that when I move the cursor over one of those paragraphs (click inside the paragraph) the 'Format' combobox is not updated to show the current format. Is there a way to let the editor automatically identify the format and update the selection in the 'Format' combobox? Because currently it seems the identification is done based on the 'Element' property of the format (which in my case is 'DIV' for all custom formats).
Thanks.
In the 2.6 Beta, if you apply the same Format (paragraph format from the 'Format' combobox) twice on the same paragraph, the second time you'll get a JavaScript error. This only happens on IE (I've only tested on IE7). On Firefox (v2.0.0.12) it works fine (the paragraph format remains applied on the current paragraph). You can also see this problem in the online demo.
Another issue related to this 'Format' combobox: I've defined 2 custom formats for the 'Format' combobox; both format definitions are using the 'DIV' element, but with different CSS styles. When I apply the custom formats to text paragraphs in the editor, the text is formatted as expected. The problem is that when I move the cursor over one of those paragraphs (click inside the paragraph) the 'Format' combobox is not updated to show the current format. Is there a way to let the editor automatically identify the format and update the selection in the 'Format' combobox? Because currently it seems the identification is done based on the 'Element' property of the format (which in my case is 'DIV' for all custom formats).
Thanks.
