Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Pretty much as the title says, I want to use the "link" button from the HTML mode in the Visual Mode in the WYSIWYG editor (the link/unlink in visual is to "advanced" for my liking). Is this possible without too much of a hassle?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Sorry, but no. :) You can't simply use the html-button in the wysiwyg-editor. Both are different programms and have nothing in common except for their location. You'd have to unregister the current buttons, write code for a new one (that fits your likings) and then add this one. You'll find hundreds of tutorials for adding buttons to tinyMCE both on google, as here in WPSE.

share|improve this answer
    
Right, thank you for letting me know. I'm curious though, have you seen any thread/tutorial about adding a link button like the one I'm looking for? I've only seen a few that registers an entirely new functionality.. –  INT Jul 5 '11 at 7:29
    
You could take a look at the Button in WP-Core and then reduce it to your needs. You'll need those tutorials anyway as they will help you to register and de-register the buttons. –  kaiser Jul 5 '11 at 16:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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