Ticket #12726 (confirmed Bug)

Opened 4 years ago

Last modified 4 years ago

Can not specify a single table style in TinyMCE preferences

Reported by: vincentpretre Owned by: robgietema
Priority: minor Milestone: 4.x
Component: Visual Editor Version: 4.1
Keywords: Cc:

Description

Setting a single table style in TinyMCE preferences does not work. If the only table style you want is Subdued grid, then the "style" dropdown when adding the table display non-relevant info. If the only table style you want is a custom one, "Subdued grid" is still available.

Steps to reproduce the bug:

  • go to site setup, then "TinyMCE Visual Editor"
  • edit the "Table styles" to only keep "Subdued grid|plain" (with or without a line return after, the effect is the same).
  • edit a Page in the site and add a new table, the drop down for the style will display a lot of non-relevant styles (see attached screenshot).

Extra infos:

  • when you remove completely the "Table styles", you obtain the same problem than previously.
  • if you specify a single style that is not "Subdued grid|plain", then you have two styles available (Subdued grid and the one you added).

My local setup:

  • Plone 4.1.3 (4112)
  • CMF 2.2.4
  • Zope 2.13.10
  • Python 2.6.7 (r267:88850, Nov 7 2011, 11:44:15) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
  • Products.TinyMCE 1.2.9, also tested with 1.2.10 and the problem is still there

Attachments

Screen shot 2012-02-27 at 11.36.13 AM.png Download (55.5 KB) - added by vincentpretre 4 years ago.
Info displayed when adding a table

Change History

Changed 4 years ago by vincentpretre

Info displayed when adding a table

comment:1 Changed 4 years ago by ida

  • Status changed from new to confirmed

Reproduced with Plone-4.1.4

comment:2 Changed 4 years ago by kleist

  • Milestone set to 4.x
Note: See TracTickets for help on using tickets.