Tagged Questions
0
votes
1answer
23 views
What makes a placeholder resizable in Tinymce?
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 ...
2
votes
0answers
90 views
Possible to create placeholder images in Wordpress editor that are clickable (should bring up uploader)?
Working on a project where I would like to have buttons within the actual visual editor area where the user can click on the placeholder image and it brings up the upload dialog.
I've seen that ...
3
votes
1answer
243 views
Shortcode to insert <!--nextpage-->
Since wordpress does not have a menu icon (aka "user friendly) way to add the command to a post or page, I'm trying to create a shortcode to do it.
However, as logic would have it, its not that ...
0
votes
1answer
274 views
Pass data back to TinyMCE from Thickbox
I've added a shortcode button in the TinyMCE editor in the page/post pages that opens up a Thickbox form.
The button is working; it opens up the thickbox form like it should. However my stumbling ...
2
votes
0answers
145 views
TinyMCE popup windows using WP functions
In my editor I would like to use a TinyMCE generated popup to insert in the textarea some complex shortcodes. I use the TinyMCE API to show the popup (bottom of this question). The popup is a PHP file ...
4
votes
2answers
4k views
How to add a shortcode button to the TinyMCE editor?
How to make any plugin icon in wordpress post? The code I want to insert in plugin code and will appear in post bar [wp-admin/post.php].
Like this image:
Output: If I click the icon it ...
1
vote
1answer
296 views
Using wp_editor in shortcode
I am building a plugin for frontend submission. I am using shortcodes API to display the form for content submission, but I am having troubles.
The problem is, wp_editor echoe's data, and shortcode ...
2
votes
1answer
128 views
How do I preview the result of a shortcode in the TinyMCE editor?
I have created a shortcode via the Shortcode API that does something like this:
[accordion_item numero="01" primeiro="true"]Item 01[/accordion_item]
[accordion_conteudo]
Lorem ipsum dolor sit amet, ...
1
vote
2answers
968 views
How to prevent tinymce macro from inserting nbsp;?
I've got the following macro button defined to wrap a selection in a shortcode in the wp_editor visual editor:
(function() {
tinymce.create('tinymce.plugins.ingredient_name', {
init : ...
2
votes
1answer
1k views
Tinymce list of shortcodes button
does someone know about tutorial or how to do button with list of shortcodes in tinymce? For example like in this video http://www.youtube.com/watch?v=DmzUuwW9AU4 (This function in the video is exatly ...
0
votes
0answers
349 views
Having problem coding tiny mce button for my plugin's shortcode [closed]
i have this plugin named toggle-box which insert the shortcode [toggle Title="the title"]text[/toggle] and allows me to use this shortcode to insert toggle boxes in to wordpress blog i as tring to add ...
1
vote
2answers
495 views
Placing <div> tags on wordpress visual editor using shortcodes
Hello I need to have the following code on a specific page:
<div class="searchbar" >
<div class="searchbar-inner" >
search <input type="text" id="search" ...
0
votes
1answer
687 views
TinyMCE buttons that launch Ajax-generated forms
if i follow the tutorials on how to add tinyMCE buttons for shortcodes
( for instance: http://www.garyc40.com/2010/03/how-to-make-shortcodes-user-friendly/ )
if i create a button that launches a ...
0
votes
1answer
641 views
How to add shortcode to show/hide press releases?
Is it possible to create a TinyMCE button and shortcodes to WordPress to enclose press releases in, so that they're hidden by default, but at the press of the button, they would expand to reveal the ...
4
votes
2answers
3k views
How to add multiple buttons to TinyMCE?
I've followed a tutorial on Nettuts on how to add a custom button to TinyMCE (http://net.tutsplus.com/tutorials/wordpress/wordpress-shortcodes-the-right-way/)
It works great and all, but i want to ...
3
votes
2answers
938 views
Is there a way to add another row to the tinyMCE kitchen sink toggle?
The tinyMCE "kitchen sink" toggle button shows/hides a row of buttons. I have successfully added my row of shortcode buttons to the tinyMCE editor, but I was wondering if there was a way to make my ...