Not sure it's a bug or a feature request. The feature is currently 'semi-present' :-)
The tinymce plugin looks for the 'resizable' key in the asset macro to allow objects to be resizable.
Nothing sets this value currently, so no asset is resizable with tinyMCE (well, they are, but the dimensions snap back to the original size as soon as the asset is unfocused)
Attached patch adds a default 'resizable' flag along with the default 'width' and 'height' form elements in the wizard.
It also disables resizing for imagecache formats and mp3 players (and it also fixes the dimensions of the mp3 player to the correct 290x24px size that is generally recommended for the 1 pixelout player.
NB : the patch contains additional diff lines unrelated to the actual code changes - probably because of invalid line endings in asset_wizard.inc ?
| Comment | File | Size | Author |
|---|---|---|---|
| asset_resize.patch | 5.59 KB | yched |
Comments
Comment #1
wmostrey commentedThanks again yched, this will be rolled out tonight.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
theorichel commented1. In which version has this been rolled out? Nothing seems to have happened with a 5.x verson as far as I can see
2. Can I simply paste this code over the similar code in the modules?
3. I suppose upgrading to the Moxiecode 2.1 is no solution, this is a Drupal problem isnt it?
Many thanks
TR