Skip to main content
8 events
when toggle format what by license comment
Mar 5, 2011 at 18:17 comment added t31os I can only assume your usage is different in some way then, i can't reproduce the problem(s) described.
Mar 5, 2011 at 17:53 comment added Guru 2.0 Thanks for really good help. I found another idea in your Code (spliting between insert in textarea and field with additional parameter). But overall it didn't work.
Mar 5, 2011 at 17:21 comment added t31os I'm using 3.1 and testing the code, it works fine here, see screenshots added to answer.
Mar 5, 2011 at 17:21 history edited t31os CC BY-SA 2.5
Followup from comments
Mar 5, 2011 at 16:51 comment added Guru 2.0 In the library I'm using the "Insert into Post" button. But I think there is in WP3.1 a problem with the html-parameter. But I see the "Insert Into" Button always. The Bug from WP 3.0 is gone ;-)
Mar 5, 2011 at 16:41 comment added t31os What are you clicking in the media window, are you using the "Insert into Post"(Insert into settings field) button? I've just used the above posted code inside my current theme(it wasn't there, but i've worked it in for testing) and it works perfectly for me(so you must be doing something different?).
Mar 5, 2011 at 16:16 comment added Guru 2.0 Thanks for help, but... after playing with your code, I always get for $(html).attr('href') an undefined.
Mar 5, 2011 at 15:38 history answered t31os CC BY-SA 2.5