The tinymce tag has no wiki summary.
0
votes
1answer
97 views
Removing the TinyMCE editor for a given page template
I was looking for a way to remove the TinyMCE Editor for a specific page template in a theme (in my case it's page-home.php). I found the following code, which works, however, I was wondering if this ...
0
votes
2answers
158 views
Problem with Line spacing in wysiwyg editor in WP 3.5.1
Since updating to 3.5.1, I can no longer get single line breaks in the WYSIWYG editor. I used to be able to shift-return for a line break and return for a paragraph break. But now all lines have ...
0
votes
2answers
303 views
How to add a class to ul tags created by the WordPress editor Tinymce?
I want to set a special styling for the ul tags created by Tinymce only, which means only for posts and pages, I only found this filter tiny_mce_before_init with an example on how to add custom style ...
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
155 views
TinyMCE Plugin Parameter
Can anyone tell me if there is anywhere I can find out what each of these TinyMCE plugins are for?
...
2
votes
1answer
67 views
WordPress MultiSite Paste from Word Tool Does not work
We're using multisite and pages/posts will not paste from word using the paste from word tool. I've tried everything imaginable, disabled theme (no plugins or network plugins enabled) We've tried ...
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 ...
0
votes
1answer
341 views
Multiple TinyMCE Editors in one Admin Page
Please could someone give me an idiots guide to adding more than one TinyMCE editor to a page editor page please. I am creating my own wordpress theme and the multiple editors are an essential part of ...
0
votes
1answer
293 views
How to remove buttons from tinyMCE in wp_editor added via AJAX
I've created a plugin with a custom post type that uses the standard editor. Also on the page, I've got a button that causes a jQuery dialog to pop up that also contains the tinyMCE editor created ...
2
votes
0answers
121 views
Adding dropdowns to the tinyMCE editor
I'm new to php and wordpress but I've managed to figure out both pretty easily thanks to the community, forums and blogs. I'm close to figuring out what i want to do here, but wasted hours without ...
0
votes
1answer
225 views
Removing <p> tags around <div> tags
I’d like to stop WP from wrapping <p> tags around <div> tags in the TineMCE editor …
Here’s what I’ve got:
function filter_ptags_on_images($content) {
return ...
1
vote
2answers
1k views
How to include own css on wordpress tinymce editor?
I have added some text on tinymce editor on load.
(Every time you click on Add new the tinymce editor load with this text.)
but problem is how to enable css class which are using in default text.
...
5
votes
1answer
259 views
Hide “Add media”, html editor from tinymce
I have a custom post type which supports editor. (WordPress ver. 3.5)
I want to customize the editor for it.
Make it readonly
Hide "Add Media" button
Hide HTML editor
Remove status bar showing word ...
1
vote
2answers
451 views
Second toolbar in tinymce has “display:none” set?
I have a plugin that inserts a tinymce like shown below. Something causes the second toolbar, the theme_advanced_buttons2 to have display:none attached to their style attribute, effectively hiding ...
0
votes
1answer
61 views
TinyMCE buttons broken
For some reason my TinyMCE buttons are completely misaligned and have the wrong background-position (See image below):
I have attempted to download a fresh install of Wordpress 3.5 and replaced my ...
0
votes
2answers
75 views
Make videos output as iframes not links
is there any way to change the default output when inserting a video into tinyMCE with Wordpress' default media manager. Currently it inserts it as a link, would it be possible to input it into the ...
0
votes
1answer
90 views
Custom characters of tinymce editor are saved as question mark
I have integrated tinymce editor of wordpress to my custom plugin. I save the data entered in to Database via ajax like this:
encodeURIComponent('<?php echo ...
3
votes
3answers
2k views
Remove HTML editor and visual/HTML tabs from TinyMCE
Is it possible to remove the Visual \ HTML tabs from wp_editor and display only the TinyMCE editor?
Basically, right now, I'm using wp_editor to display the smallest possible TinyMCE editor I can - ...
0
votes
2answers
359 views
enable TinyMCE for comment forms
Is there any way in Wordpress to use a richt-text-editor (preferable the build in TinyMCE) on the comment form textarea in the frontend? I had such a feature in earlier versions, using the plugin ...
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
0answers
122 views
Enqueue Script After TinyMCE initialized
I am making a small live preview area inside a meta box using jquery where i need to get content from tinymce editor. But it seem my script loads before tinymce, this returns null when i try to get ...
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 ...
0
votes
2answers
508 views
Cannot get <p> tags working from a WPAlchemy metabox with wp_editor()
I'm using WPAlchemy on a project.
For a template, I need to use a custom metabox which is working fine with a tinyMCE editor.
Code to insert the meta box on the template (this is a piece of code ...
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 ...
0
votes
2answers
218 views
Bridging TinyMCE js and Wordpress PHP?
I'm updating my wordpress plugin to use a custom TinyMCE button. From inside the TinyMCE button javascript, I'd like to interact with wordpress data--ie set custom post options inside the plugin ...
5
votes
4answers
1k views
No filter of code on switch from html to visual editor, how?
Yes, i have found other questions to this topic, but no have the same topic exactly and no solution for my problem.
If you include code inside the html-tab and you switch to the visual mode, then ...
1
vote
2answers
548 views
Preserving tabs and line breaks in <pre><code> when switching from HTML to Visual Editor
Tabs placed in a <pre><code></code></pre> block are stripped and line breaks are removed leaving a single continuous line of text. This occurs when switching from html to ...
4
votes
1answer
146 views
Saving (Updating) Post / Page Edits With AJAX
One of the major frustrations while editing posts/pages is that after saving, two things happen:
The admin page is reloaded, which takes time
More importantly, the cursor position is lost
If ...
1
vote
2answers
2k views
How to enable the content editor as a droppable target with jQuery-ui?
I'm trying to enable the WordPress content editor as a droppable using jQuery UI drag and drop. However, I can't get the drag to drop, or the drop event to fire.
Is there something I'm missing?
...
1
vote
1answer
137 views
How to customize the symbols that appear in the Visual Editor insert custom character
The TinyMCE Editor has a great button in the kitchen sink to insert custom characters / symbols.
Is there a way to control what symbols show up in this pop-up? (Specifically I need some unique ...
1
vote
1answer
205 views
TinyMCE Autoresize
Looking for a way to make the TinyMCE editor always relative to it's content so that the height of the editor changes accordingly to how much text/images it contains.
There seem to be plugins for ...
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 ...
0
votes
2answers
147 views
Why is the media upload button not in the main toolbar & can it be placed there instead?
Is there a good reason why the wp media upload button is not placed within the main edit toolbar, and can we put it there instead of floating above??
0
votes
2answers
755 views
Unable to save Theme Options when TinyMCE is enabled for the text area
On the site I'm currently developing I have created a theme options page (under Appearance). All there is on this page is a text area so the client can add some summary text to appear above their ...
5
votes
1answer
594 views
Load wp_editor via ajax [duplicate]
Possible Duplicate:
How to load wp_editor() through AJAX/jQuery
I know that this has been asked before but it has not been answered fully or accurately or descriptively. I know how to load ...
2
votes
1answer
915 views
Load tinyMCE / wp_editor() via AJAX [duplicate]
Possible Duplicate:
How to load wp_editor() through AJAX/jQuery
There are several questions about this (like this, or that), but none of them provides a solution to me.
The situation:
I ...
0
votes
1answer
73 views
prevent caching during tinymce custom button development
I'm following this turial on how to add a custom button to TinyMCE editor in WordPress. Trying to edit author's JS to include my functionality, yet it seems to have gotten cached. Article author has a ...
1
vote
1answer
227 views
How to have custom tinyMCE buttons break onto next line when too long
There is probably a really simple solution that I am missing here but I have added multiple custom buttons to the tinyMCE editor in Wordpress and my problem is the row of buttons is too long (they're ...
1
vote
0answers
198 views
Tinymce and uploading local pictures
I would like to extend the capabilities of the wordpress editor while keeping the option of uploading local pictures (in the simplest way possible:upload => insert).
I found a plugin which seems to ...
0
votes
2answers
252 views
Tinymce broken after update
I've found other posts related to this, but none had a answer to my issue.
After updating to WP 3.4 my visual editor is broken.
Firebug reports this error
Failed to load: ...
1
vote
0answers
83 views
HTML Excerpt causing issues [closed]
Hi I have this code to give me an HTML version of the excerpt box on the edit post screen, however when I'm in the HTML tab of the editor and switch to Visual I only see a blank page. Reloading the ...
0
votes
1answer
521 views
Stop Wordpress removing <script> tags when switching from HTML to Visual (TinyMCE)
Ok, I've seen solutions which go halfway to sorting out this problem, but nothing definitive, and nothing that 100% solves my problem.
Scenario:
In HTML mode, I add some javascript to a post I'm ...
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 ...
1
vote
3answers
111 views
customize tiny MCE blockqute
Hi we all know by default tiny MCE's blockquote generates this
<blockquote> content here </blockquote>
I am styling this via CSS :
the css im using :
blockquote { border: none; ...
0
votes
1answer
31 views
“After file loaded” action
I have a plug-in that allows for repeatable fields. There will be an image and the image description. The description allows for tinyMCE editing. There are obviously problems with this, but I think I ...
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 ...
2
votes
1answer
190 views
2nd button row from WP Super Edit or TinyMCE Advanced doesn't show to 2nd admin
I'm currently using WP Super Edit. But the same problem persists with TinyMCE Advanced.
This is how it is configured:
http://i.imgur.com/4PyXi.png
http://i.imgur.com/YniBi.png
...
2
votes
3answers
900 views
Count Words using tinymce in the front-end
i am using a front built in (article directory plugin) tinymce with wp_editor.
what ever i tried i cant get the word counter to work automatically..
i can count the words fine in the HTML tab using ...
4
votes
2answers
583 views
When switching from html to visual editor the <iframe> tag gets corrupted
I'm trying to embed an iFrame, and because I set up some CSS using responsive design, I wish to NOT have width="" and height="" attributes whatsoever.
When I type this into the HTML editor field..
...
3
votes
2answers
630 views
Use rich text editor in comments?
I've been trying to get the TinyMCE editor working in the comments field but I've been unable to do so. Another suggestion I found was http://nicedit.com, the editor is working but the comments are ...
