Ticket #101 (new Bug)

Opened 22 months ago

Last modified 10 months ago

IE: Can't use the Styles combo with TR, TD, TH

Reported by: pdvision@… Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version: FCKeditor 2.4
Keywords: SF Confirmed Cc: blasph@…, mjgmaas@…

Description

Hi!
Don't work in IE this style template (fckstyles.xml).

Bug example see on the attachment picture.

...
	<Style name="Table cell class" element="TD">
		<Attribute name="class" value="class_name" />
	</Style>
...

Sorry for my English :)

Attachments

Untitled-1.jpg (36.0 KB) - added by pdvision@… 22 months ago.
CSS style for <TD> tag not visible in toolbar popup panel
td.gif (2.0 KB) - added by alexander.dick 17 months ago.
the td element does not show up in the dropdown because of the missing <table>
div.gif (1.8 KB) - added by alexander.dick 17 months ago.
div for example works fine

Change History

Changed 22 months ago by pdvision@…

CSS style for <TD> tag not visible in toolbar popup panel

follow-up: ↓ 8   Changed 22 months ago by alfonsoml

  • keywords IE added; CSS removed
  • priority changed from High to Normal
  • summary changed from In IE CSS style for <TD> tag not visible on toolbar popup panel to IE: Can't use the Styles combo with TR, TD, TH
  • component changed from UI : Floating Panel to General
  • milestone FCKeditor 2.4 deleted

  Changed 22 months ago by alfonsoml

  • keywords SF added

I tried to create the styles on the file fckstyles.xml in the newest version of fckeditor (2.0 rc1) but styles don't been added in style select combo in editor. If I change to another tag (span, p, etc) it's work fine.


Moved from SF. Original poster: Daniel Rodrigues - blasph
https://sourceforge.net/tracker/index.php?func=detail&aid=1077468&group_id=75348&atid=543653

  Changed 22 months ago by alfonsoml

If you clear your cache in RC3, the style select combo box updates correctly to the changes in fckstyles.xml.
But when I select a cel or a row and want to set the style to one new styles I defined for TD and TR nothing happens.
I added the following styles to fckstyles.xml:

<Style name="tabelKop" element="tr">
      <Attribute name="class" value="tabelKop" />
</Style>
<Style name="tabelCel" element="td">
      <Attribute name="class" value="tabelCel" />
</Style>

In which 'tabelKop' and 'tabelCel' are styles defined in my stylesheet.


Moved from SF. Original poster mjgmaas

  Changed 22 months ago by alfonsoml

  • cc blasph@…, mjgmaas@… added

  Changed 21 months ago by fredck

The attached screenshot reflects also another problem reported on ticker #126.

  Changed 18 months ago by fredck

  • milestone set to FCKeditor 3.0

Part of a fix for it could come on the current dialogs. But I believe that only a tag selector is a definitive solution.

  Changed 17 months ago by alexander.dick

I have experienced this Bug too, a really bad thing. The Problem is, that the td Elements get copied in the Style-Dropdown without a wrapping <table>, browsers don't display that.

With block-Level Elements such as div, p, and with inline elements like a, span or b it works fine.

I would suggest to set the priority of this issue to _high_, because of this issue i am not able to use the editor in our system.

Changed 17 months ago by alexander.dick

the td element does not show up in the dropdown because of the missing <table>

Changed 17 months ago by alexander.dick

div for example works fine

in reply to: ↑ 1   Changed 17 months ago by alexander.dick

Replying to alfonsoml:

This bug NOT an IE-only bug, I experienced this bug in Firefox as well, and it's most likely that this bug does occur on other browsers as well.

  Changed 10 months ago by w.olchawa

  • keywords Confirmed added

  Changed 10 months ago by w.olchawa

  • keywords IE removed
Note: See TracTickets for help on using tickets.