Articles of quicktag

Remove quicktag buttons but not Visual / Text editor and tabs

I wish to remove the quick-tag buttons in the text (html) editor in TinyMCE but not the html editor itself nor the tabs for choosing between the editors. When I use $settings = array(‘quicktags’ => false); wp_editor($input, ‘editor_name’, $settings); WordPress removes the entire text editor and the Visual / Text tabs for choosing between the […]

Use quicktags toolbar on any textarea

reading the i see in the comments * Run quicktags(settings) to initialize it, where settings is an object containing up to 3 properties: * settings = { * id : ‘my_id’, the HTML ID of the textarea, required * buttons: ” Comma separated list of the names of the default buttons to show. Optional. […]

Automatically add <!–nextpage–> after X number of paragraphs

Is it possible to automatically add the <!–nextpage–> quicktag after X number of paragraphs? My client isn’t exactly tech savvy so I’m trying to find a way to help them break up their enormous pages without them having to come back to me time and time again asking how to do it.

Customizing HTML Editor Quicktags button to open a dialog for choosing insert options

I am looking for adding custom quicktag buttons, that would allow me to display a intermediary dialog before inserting the code. Situation Clicking a quicktag button opens a dialog or thickbox modal window. Opened dialog displays some options on the class, etc and an Insert button. Clicking “Insert” button inserts the code. Background To add […]

How to add “Insert/Edit link” button in custom popup tinymce window?

I need to insert some text in the body of the article, that turns into a “side-tag” by wrapping it inside some div tags with custom classes. I’ve created a custom button in tinymce that pops up a new window with a text field. You write the text and when you hit OK it adds […]

How set defaults on wpLink()

With WP 3.2, WordPress maybe has a new function to add Link-Quicktags to the editor. But I found an function to set defaults for the link-button: Take a look at wplink.js Line 278. setDefaultValues : function() { // Set URL and description to defaults. // Leave the new tab setting as-is. inputs.url.val( ‘http://’ ); inputs.title.val( […]