TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL. TinyMCE has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.

learn more… | top users | synonyms

0
votes
1answer
83 views

TinyMCE: Move buttons from 2nd row to top row

I have disabled many of the TinyMCE buttons making the two rows quite empty. Is it possible to move the remaining buttons from the second row (that is displayed when hitting the Kitchen Sink button) ...
0
votes
1answer
31 views

Change type of permalinks on TinyMCE link dialogue

I recently ran into a problem when inserting text links into post content, and then updating the target post's slug or changing permalink options - the link in the post content won't get updated. ...
0
votes
1answer
51 views

Send data to Editor before saving the post

I have created a meta field in the new post page. When I add some content in the meta field, I store it in a hidden textarea. When a post is saved, I want to clear all content of the editor and copy ...
0
votes
1answer
170 views

Excluding post type from WordPress link builder

I have created a custom post type with parameter 'public' set to true. This is because I have to have it accessible in plugins that help you to build queries for post display, such as the Views (part ...
0
votes
2answers
123 views

Wordpress stripping out BR tags, need assistance

Im having a problem where WP for some odd reason is stripping out my BR tags. Ive looked online and have read a few solutions that people offered including the installation of TinyMCE advanced plugin ...
0
votes
2answers
363 views

Change the background of the TinyMCE editor with available WP arguments

I'm using an instance of the TinyMCE editor in a plugin form, and I need for the editor to be highlighted (light red background) if the field is not correctly filled in. I can add a custom class ...
0
votes
1answer
1k views

Insert text a cursor position in to TinyMCE text editor

I have a small function that allows a user to click a button under a textarea, and have the relevant text inserted (this works in conjunction with the jQuery textrange plugin). However, because I'm ...
0
votes
1answer
186 views

Example for use tinymce in wordpress 3.5.1?

I'm search the topic about how to use tinymce in wordpress 3.5.1 and i not found. I'm writing plugin and i have textarea that i want to add timymce into What should i do to add tinymce into suppose ...
0
votes
1answer
515 views

Convert textarea with wp_editor

I have a custom tabbed menu which has some input fields that works properly. I followed this tutorial: ...
0
votes
1answer
621 views

HTML5, WordPress and Tiny MCE issue - wrapping anchor tag around div results in funky output

So I'm using HTML5 on a website and am trying to wrap a div in an anchor tag, which is supposedly acceptable in HTML5 websites. But when I do this... <a href="#mylink"><div ...
0
votes
3answers
824 views

Adding rich text editor to my plugin

Hello Wordpress users, I'm trying to add a rich text editor to my own plugin. So I googled it first of course and I found serveral answers like: ...
0
votes
1answer
114 views

TinyMCE Advances is removing blanks (“ ”)

I want to keep blanks " " inserted by the user in Wordpress with the TinyMCE Advanced plugin. He keeps them only if there are some letters at the beginning. E.g. Fr 09:00 - 18:00 But he don't ...
0
votes
2answers
166 views

Why Editor reformats my code

I'm using TinyMCE Advanced and SyntaxHighliter plugins on my WordPress install. Why does the editor change my inserted code, from: [php] <?php /** echo('code'); /**/ [/php] to: [php] ...
0
votes
2answers
424 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
1answer
611 views

How to close tinymce inline popup

I have been looking around, but am unable to close the popup programmatically. The following code does not seem to work. tinyMCEPopup.close() TypeError: Cannot read property 'windowManager' of ...
0
votes
1answer
237 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 ...
0
votes
2answers
1k 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
33 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
2k views

wordpress qtranslate editor text is not working

I have installed qtranslate on my wordpress site, it all works fine, but sometimes the content editor does not show the text, When I force refresh the page a few times (Ctrl + r) eventually the text ...
0
votes
1answer
286 views

Tiny MCE custom styles, and preview in the backend

I've added the styles dropdown list to my TinyMCE editor in Wordpress. If I select the style, and preview it on the front end, it looks exactly like I expect it to. However, I'd like to preview it ...
0
votes
2answers
351 views

Add class to all links created by tinyMCE

I'm attempting to automatically add a class to all links created when clicking the "link" button in tinyMCE. I've found this snippet in the tinyMCE docs: // Adds a class to all paragraphs in the ...
0
votes
1answer
284 views

Easy way to inject js in tinymce iframe?

I was wondering if there any direct hook to inject some javascript into tinymce iframe?
0
votes
1answer
661 views

How to disable tinyMCE button added by a plugin?

I know how to disable TinyMCE default buttons with add_filter('tiny_mce_before_init') using theme_advanced_disable parameter, but a button added by a 3rd party plugin seems impossible to hide with ...
0
votes
1answer
203 views

Insert attachments from custom uploader into post (regular uploader style)

I recently started using this nifty meta box framework: http://www.deluxeblogtips.com/meta-box-script-for-wordpress/ I really like the plupload meta box, however, I need to be able to add the ...
0
votes
2answers
4k views

How can I stop TinyMCE from converting my HTML entities to characters?

Here's the problem: I paste the HTML entity code for, let's say, a service mark (&#8480;) into the HTML view of the editor. As soon as I switch to the "visual" tab, my entity code is turned into ...
0
votes
2answers
263 views

TinyMCE - Insert media at the beginning of post

I want to modify TinyMCE in WordPress so that it inserts media (image etc.) always at the beginning of post contents. For this I need to change the cursor position to the beginning, insert media and ...
0
votes
1answer
491 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
309 views

How to make image in TinyMCE clickable

I'm trying to use the tinyMCE in the Wordpress front end and not using wp_editor() because I need the editor to be created through Ajax (something that a wp_editor can't handle as far as I know). ...
0
votes
1answer
543 views

How to save TinyMCE fields on Wordpress custom post type?

I have a custom post type "career_opportunities" with a "responsibilities" textarea box: <p><label for="responsibilities">Responsibilities</label></p> ...
0
votes
1answer
230 views

When I write posts I usually have to use non breaking space element in order to keep margins in between the sentences. why?

When I write posts I usually have to use non breaking space element in order to keep margins in between the sentences. In other words - the text looks good in my editor, it is with spaces, but when I ...
0
votes
1answer
432 views

remove WYSIWYG editor but keep media button

i need to remove the deafault TinyMCE editor from pages, i used this: remove_post_type_support( 'page', 'editor' ); But it removes also the media button that i need
0
votes
3answers
937 views

How to use tinyMCE for user “biographical info” without messing with any core file?

I noticed when you typein the user's “biographical info” on the profile, it shows up in one page! Looks really terrible. So: Is there a way to use tinyMCE or other solution for user “biographical ...
0
votes
2answers
648 views

TinyMCE doesn't work correctly in the Media Modal Window

I need to add TinyMCE to descriptions of images. For it, I'm using this code in my functions.php: function add_tiny_mce_hook() { if (function_exists('wp_tiny_mce')){ wp_tiny_mce(false, ...
0
votes
1answer
2k views

How to display TinyMCE HTML view?

I'm displaying TinyMCE in my plugin's settings using wp_tiny_mce(): <?php wp_tiny_mce( false , array("editor_selector" => "a_nice_textarea"));?> <textarea class="a_nice_textarea" ...
0
votes
1answer
102 views

Keyboard shortcut for headings on safari

When I use wordpress on PC, I can simply press ctrl+1 for Heading1 and ctrl+2 for heading 2... But when I use my mac it doesn't work. What are the shortcuts for heading styles on safari?
0
votes
1answer
379 views

Getting selected (highlighted) html from the Visual Editor on Edit Post page?

So I understand that the visual editor uses something called TinyMCE. How do I retrieve the html that the user selects from the visual editor? I am basically trying to create a button that gets the ...
0
votes
1answer
183 views

Best Browser for Editing Posts

What browser is best supported by Wordpress.org for editing posts in the visual editor (which I guess is TinyMCE)? I use Google Chrome and have run into issues which are specific to just this ...
0
votes
1answer
503 views

TinyMCE invalid nested list markup

Today I upgraded Wordpress to 3.2.1 and noticed that the nested list markup seems to be invalid. This is the code it's producing: <ul> <li>parent list item 1</li> <ul> ...
0
votes
3answers
677 views

Wordpress Tiny MCE won't accept line breaks

Encountered an infuriating issue where I f i want to add multiple linebreaks for layout between paragraphs, Wordpress doesn't recognize them in th wysiwig editor. If I enter them in the code window, ...
0
votes
2answers
851 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 ...
0
votes
3answers
998 views

wp_tiny_mce function not found

I am trying to add the embedded TinyMCE editor to content area using the code: add_action( 'comment_form_after', 'tinyMCE_comment_form' ); function tinyMCE_comment_form() { wp_tiny_mce(false, ...
0
votes
1answer
724 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 ...
0
votes
1answer
172 views

Can Rich Text features be configured per user?

There are obviously different types of users (from power-users to casual authors). WordPress's Rich Text editor is based on TinyMCE - which has a lot of features. Most of these features are ...
0
votes
1answer
2k views

Adding tinymce to Custom Field boxes on Category edit page

I've managed to add the required custom fields to my category edit page (the code is below). All I'd like to do it have the textareas #Category_Extras_Features and #Category_Extras_Applications to ...
0
votes
1answer
207 views

How to add future Posts to the new “Internal Linking” Feature

The new Feature "Internal Linking" is only showing already published posts. If writing a series of posts planned for future publishing, these posts are not showing up in the list. Is there any hook or ...
0
votes
1answer
891 views

How can I remove <div =“mceTemp”> using built in wordpress filters

I'm getting image fields wrapped in tags and would like to remove the surrounding divs, but only if they are of class "mceTemp". Anyone know of an efficient way to do this? Also, should those Divs ...
0
votes
1answer
22 views

TinyMCE 4.x : How to customize toolbar on wp_editor()

Since upgrading to Wordpress 3.9 (which includes TinyMCE 4.x), I have problems customizing the editor, displayed via wp_editor() In the example below, I want to disable the 'fullscreen' button, but ...
0
votes
0answers
10 views

Wordpress editor strips out anchor tags when they appear on their own line

In the text below, when I toggle the WYSIWYG view from Visual to Text, the anchors are left intact. However, when I switch back to Visual, the anchors are replaced with &nbsp; elements. This is ...
0
votes
0answers
15 views

Add button in TinyMCE editor to insert text

I'm searching a way to add a custom button to the TinyMCE editor when clicked insert into the visual editor some text. For example: button called "Hi" when clicked insert into the editor "Hello I'm ...