Ticket #11973 (confirmed Bug)
only one tinymce field can be suppressed
Reported by: | huub_bouma | Owned by: | robgietema |
---|---|---|---|
Priority: | trivial | Milestone: | 4.x |
Component: | Visual Editor | Version: | 4.3 |
Keywords: | Cc: | domen@… |
Description
A tinymce wysiwyg field can be suppressed by clicking on the link at the bottom of the widget. This generated a link with a tinymce.suppress variable and the field name. This works fine for one field. However, if you have a page with two or more wysiwyg fields, and you want to suppress more than one, it doesn't work.
I think the cause is in the tinymce_wysiwyg_support.pt file. In there is a condition:
suppressed python:request.form.get('tinymce.suppress') == fname;
This could be changed into something like this: In there is a condition:
suppressed python:fname in request.form.get('tinymce.suppress', []);
Cheers, Huub
Change History
Note: See
TracTickets for help on using
tickets.
confirmed in tinymce 1.3 and dexterity 2 dev. No fields are suppressed this way. I think a quick fix would be to suppress all if supressing just 1 will be a pita.