The Little Guy Posted December 2, 2011 Share Posted December 2, 2011 I have a div that I made editable, and when you select the text and click the "code" link, I would like to place bbc around the selected text, much like the buttons here. what is the best way to do that? Quote Link to comment https://forums.phpfreaks.com/topic/252331-wrap-bbc-around-selected-text/ Share on other sites More sharing options...
premiso Posted December 2, 2011 Share Posted December 2, 2011 When the site comes back online: http://plugins.jquery.com/project/wrapSelection Quote Link to comment https://forums.phpfreaks.com/topic/252331-wrap-bbc-around-selected-text/#findComment-1293578 Share on other sites More sharing options...
Spring Posted December 2, 2011 Share Posted December 2, 2011 When the site comes back online: http://plugins.jquery.com/project/wrapSelection I was actually curious about this myself. Quote Link to comment https://forums.phpfreaks.com/topic/252331-wrap-bbc-around-selected-text/#findComment-1293581 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.