Ticket #12726 (confirmed Bug)
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
Change History
Note: See
TracTickets for help on using
tickets.
Info displayed when adding a table