Ticket #10725 (reopened Feature Request)
TinyMCE Limit available image sizes
Reported by: | frisi | Owned by: | robgietema |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Visual Editor | Version: | 4.1 |
Keywords: | Cc: |
Description
Most of the time, there are only 1 to 3 image variants that editors should use in their tiny fields since the others don't fit the visual design of the site. All the other options distract or even confuse them.
The @@tinymce-controlpanel should allow users to select which image scales shall be available in the insert/edit image dialog in a linesfield called "Available Image Scales".
Products.TinyMCE.utility already has the getImageScales method that could filter the returned scales so only those scales mentioned in the new configuration are returned.
when we are at this, translating the available scales would help non-english speaking users a lot.
eg by creating message ids in the i18n:domain plone for each scale id in Products.TinyMCE.adapters.JSONDetails. translating them would require the adapter to take the request in account too.
(moved from tiny's former issue tracker: http://plone.org/products/tinymce/issues/154)
Plone 3 no longer supported. Please re-open if still an issue in Plone 4.