0

It's not that hard to make a plugin to TinyMCE, similar to what the Wordpress gallery is doing in WP 3.5. Unfortunately, these custom placeholders are always non-resizable, although they show the resizer handles.

A new image inserted into a post is resizable with the handles, an embedded iframe is resizable, but a new gallery placeholder is not resizable (in this case it doesn't make sense, galleries don't resize). However, I need a custom placeholder that is resizable. Is there a special class that turns this on or off, or a function that I need to call to enable resizing on a certain element?

1 Answer 1

0

Looks like removing the height: and width: from the css makes it resizable :)

I had copied css with those settings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.