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
2answers
702 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
406 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
714 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
253 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
524 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
2k 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
858 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
3k 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
160 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
617 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
289 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
547 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
776 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
1k 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
1k 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
817 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
190 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
213 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
986 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
0answers
17 views

Tinymce show/hide textarea when checkbox clicked

I have extended my tinymce as seen below. Now I am trying to make the textarea msgGeneral visible when i click on the checkbox fbSBtn. The code i have below does not work. Any suggestions from you? ...
0
votes
1answer
19 views

data-accordion removed in Visual Editor

Using Foundation 5's accordion, and the data-accordion html data attribute in: <dl class="accordion" data-accordion> gets removed when a user only edits a page with the Visual Editor. Does ...
0
votes
0answers
23 views

qTranslate Plus and advnced custom fields Tiny MCE issue [closed]

I use wordpress 4.1.5 + qTranslate Plus 2.7.2 + Advanced Custom Fields 4.4.1 + Advanced Custom Fields: qTranslate 1.7.9 I have two languages and My problem is that I add 3 different wysiwyg fields in ...
0
votes
0answers
8 views

What's wrong with this code? (TineMCE)

I'm trying to make a button that when it clicked, it wrap some text with shortcodes. Everything went good and I did this button, but now, I want to go to the next step which is to make the button a ...
0
votes
0answers
26 views

Prevent TinyMCE from stripping html comments?

I'm working on a plugin that adds <picture> element support to a site using picturefill.js to polyfill it in - as part of it I'm allowing the picture element html to exist in the editor content. ...
0
votes
0answers
23 views

How to get a full functional wp_editor and colorpicker in tinyMCE popup

I'm trying to make a custom shortcode generator. I call a php document through AJAX in a tinyMCE popup. There, I'm trying to have a wp_editor instance. Also color picker. I'm not getting everything ...
0
votes
0answers
12 views

Adding custom post formatting options in custom post types

I've added custom post formatting options using the below code - function wpb_mce_buttons_2($buttons) { array_unshift($buttons, 'styleselect'); return $buttons; } add_filter('mce_buttons_2', ...
0
votes
0answers
15 views

Admin Editor Issue

I want to enable multiple <br /> tags in the back office editor as user press [SHIFT + ENTER]. Like Gmail Editor. Otherwise I need to disable linebreaks on [SHIFT + ENTER] and it should just ...
0
votes
0answers
8 views

TinyMCE Custom Styles or Shortcode Components?

One of the WordPress theme projects I'm working on for a hiking and travel blog adds additional facts and notes in small info boxes about the particular topic being discussed. For instance, on a post ...
0
votes
0answers
24 views

Modify an old plugin text field to use TinyMCE

Ok, I've been trying to understand how to change a text field to a tinyMCE field for too long, so it's time to ask for help. I'm using an old plugin with the following code to add a custom tab to ...
0
votes
0answers
12 views

Extend, not replace, editor styles and formats [duplicate]

I want to achieve the following with the TinyMCE (Advanced) Editor Keep the Format button (added through functions.php), which enables me to choose headings and many more formats Extending with my ...
0
votes
0answers
128 views

Wordpress 4.2 mce-views migration guide?

With Wordpress 4.2 planned to be released next week, I was wondering about the finalizing of the new WP-views API. Apparently even the more simple examples of mce are failing in 4.2. I know that api ...
0
votes
0answers
50 views

Add css / js to the tinymce dialog box iframe

In wordpress tinymce, when you click certain icons, a dialog box appears. E.g. click the text color icon, then click 'more colors' and a dialog box appears showing a color picker. The dialogue box ...
0
votes
0answers
34 views

Issue with iframe in TinyMCE

How do TinyMCE generate an iframe in wordpress admin panel ?? Actually I could not find out the starting point of iframe which is generated by TinyMCE. Thanks
0
votes
0answers
13 views

Advanced TinyMCE link with classes configuration

I'm trying to add custom classes to to advanced link options. On the left I've added link_class_list and in the value field: ...
0
votes
0answers
18 views

How to reimplement TinyMCE?

I have a complicated situation where a client hired another person to clean their server from shells caused by an old version of revslider. The person deleted the entire TinyMCE folder so I tried to ...
0
votes
1answer
34 views

How to type shortcode-like text in WordPress TinyMCE visual editor?

Suppose, I have a plugin which is offering a shortcode for its users: [my-shortcode]. Now I want to post an advertisement in a page of my WordPress powered blog like the following: Hey you can use ...
0
votes
1answer
21 views

How to make float element in tinymce

I would know how its possible to add a float:left or float:right in tinymce ? I know how to do this for a picture but what is the best solutions for all elements ?
0
votes
0answers
31 views

How to get value from listbox in TinyMCE

I want to get the value in the listbox but it always return text value (Yes/No instead of True/False). This is my code: onclick: function () { ed.windowManager.open({ title: 'A Grid based ...
0
votes
0answers
22 views

Quicktags external functions file

I have added shortcode buttons to the WordPress tinyMCE text editor using the WordPress quicktags function. This works fine when in functions.php, however I need it to be in an external functions ...
0
votes
0answers
61 views

jQuery .find() is not working (right after it DOES work…) in tinymce extension

I am trying ultimately to get a character counter to show up beneath a text area in a form that is generated in a thickbox via jQuery as a TinyMCE extension. Before I work on the code to calculate ...
0
votes
1answer
39 views

Wordpress adding extra html coding to my data on saving

Around the time of WordPress 3.9, I implemented a custom post type with repeating wysiwyg meta-boxes. (cobbled together and adapted from code found here: ...
0
votes
0answers
74 views

unwanted <br> and <p> tags in text editor

I'm very surprised that an answer to this isn't easy to find. I've been searching for a solution to this problem for some time now. Google has a few sketchy answers, but they're old. My question is ...
0
votes
0answers
54 views

Theme option not saved if in wp_editor() and html decoded

i'm trying to add wp_editor() to my theme-option page but it is not saved when html is decoded. so this is the issue: in the theme option page i successfully added a new option called ...
0
votes
1answer
25 views

Edit TinyMCE Button Functionality

How can I edit the "Align Right" button functionality on Wordpress' TinyMCE to add a class "alignright" instead of "style='text-align: right'" for text. TinyMCE already has that functionality but it ...
0
votes
0answers
24 views

wp_editor Too Tall when Content is Loaded

I am using the code below to load a custom editor for my application: <?php wp_editor(stripslashes($post->post_content),"project_description",array('quicktags'=>false, ...
0
votes
0answers
66 views

Check if textarea has quicktags initialized already

I am using wp_editor() to output an editor field. By setting the 'wp_skip_init' to true, I am preventing TinyMCE from getting initialized automatically. Here is the code that renders the editor field: ...
0
votes
0answers
36 views

Tinymce doesnt appear

I have a big problem in my wordpress . tinymce editor doesn't appear. I have only the text tab - not the visual. I've disable all plugin/ nothing changed / deleted my htaccess , nothing changes/this ...
0
votes
0answers
27 views

filters to pass html correctly from tinyMCE meta box

I have a meta box that uses tinyMCE but all html tags I use are simply being passed as text instead of correctly encoded on the page. Seems to be a filters issue, but I have no idea where to apply ...
0
votes
0answers
21 views

Set tinymce direction to rtl

I install Tinymce editor to my site. And now i need to set the default direction to RTL not LTR. I try this way but not work with me :- #tinymce p { direction : rtl; } How can do that ??