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

1
vote
1answer
257 views

editor text cut off when using 2 spaces (after periods)

I have noticed that my TinyMCE editor in Wordpress MU 2.9.2 loses text after a double space when you save a blog post. This is a problem because some users habitually use two spaces after a period. ...
1
vote
2answers
147 views

How does Wordpress remember which editor is being used?

Hey so I am trying to determine how Wordpress remembers which editor is being used for a particular post (HTML or Visual Editor (tinyMCE)). When you write a post, and then come back, it goes to the ...
1
vote
1answer
466 views

TInyMCE object Tag stripped

I need to add the following object tag to a page <object id="myExperience" class="BrightcoveExperience"> <param name="bgcolor" value="#FFFFFF" /> <param name="width" value="648" ...
1
vote
1answer
510 views

Get current Blog ID in Tinymce Plugin Dialog Window in WPMU

is there any way, to get the current blog id in a Tinymce Dialog Window? Currently I only get the id, from the main blog. This is my current code: $wp_load = "wp-load.php"; ...
1
vote
1answer
799 views

Adding TinyMCE buttons without removing plugin buttons?

I'm developing a plugin that I'll install for all my clients to make WordPress slightly easier to use for them. One of the things it will change is the default TinyMCE configuration. It'll add things ...
1
vote
1answer
3k views

I'm using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box

I'm using a very lightweight plugin called WPAlchemy that lets me rapidly create meta-boxes for posts and pages. I've ben able to convert <textarea>'s into rich, TinyMCE's editors just fine. ...
1
vote
1answer
1k views

How can I troubleshoot why TinyMCE won't load custom plugins in the visual editor?

Edit: Found that the theme options panel set up (using a class) was causing the problem. Still not sure why - would still love know how to find out what the problem is - e.g. is it a JS or PHP issue. ...
1
vote
1answer
48 views

More than one TinyMCE (wp_editor) with different $settings['drag_drop_upload'] values breaks

It appears that when I have two+ separate wp_editors with different values for drag_drop_upload they all are built as if they have drag_drop_upload set to true. If I set them all to false they act ...
1
vote
1answer
25 views

P̶l̶a̶c̶e̶h̶o̶l̶d̶e̶r̶ *Default* content in Custom Post Type TinyMCE editor

I know you can customize the placeholder default text of the 'Post Title' field, but is there any way to display placeholder content in the actual TinyMCE post editor? Ideally I'd like to display ...
1
vote
2answers
42 views

Adding custom styles to elements, without creating new elements

So Im using the tiny_mce_before_init filter to added a few classes to the wp_editor and am getting unexpected results. I havent used this before, but from what Im reading and what my peers tell me I ...
1
vote
0answers
46 views

Add tinymce buttons to caption textarea in media uploader

I want to add some basic tinymce buttons ( Bold, italic, underline ) to caption textarea in media uploader in WordPress. (Shown in attached image) I dig a little bit into wordpress core in media.php ...
1
vote
1answer
87 views

When using javascript to dynamically add a textarea, how can I render it as a tinyMCE editor (in wordpress)?

I have a plugin that allows the user to dynamically add sections that need to have the tinyMCE editor in them. The jQuery clones a div and places it into a container. One of the input boxes is a ...
1
vote
1answer
130 views

TinyMCE style_select - Append Classes

TL;DR Question How do I create a submenu for my classes with style_format? Can I append a submenu to the existing menu? With the new Styleselect in TinyMCE 4.0 there's a bunch of predefined ...
1
vote
0answers
63 views

tinyMCE 4.0 custom button onclick no longer working

I am trying to update one of my WordPress plugins where I create a tinyMCE button and open up a thickbox on click. I've just tried switching over to a basic example for testing, and can't get this to ...
1
vote
0answers
60 views

TinyMCE strips breaks inside editor

the posts are shown correctly in the frontend. But when i go to edit, the content inside tinyMCE is without breaks ?! So i have to copy my content from frontend and paste it to the editor every time i ...
1
vote
1answer
889 views

Our shortcode dropdown box in Tinymce is not working in WordPress 3.9?

Hi since the new version is about to be released I thought I would download it and see if my theme works still. Everything works great apart from the dropdown box which is now longer showing. Here ...
1
vote
2answers
207 views

Hide TinyMCE controls in TinyMCE 4 (Wordpress 3.9)

Trying to figure out how to hide TinyMCE Controls (forcolor mainly) in WordPress 3.9 beta 2. The code that was working in 3.8.1 was $init['theme_advanced_disable'] = 'forecolor'; but ...
1
vote
0answers
244 views

How to add Listbox / Select dropdown for shortcodes in WP 3.9 beta2 using TinyMCE?

I need a list-box for shortcodes in visual editor. With WP 3.8 I got it working like : createControl : function(n, cm) { switch (n) { case 'example': var mlb ...
1
vote
1answer
73 views

Using TinyMCE in plugin?

I've successfully integrated DataTables Editor into WordPress as its own plugin. It loads successfully and I can edit a DataTables' table. What I'm trying to figure out is how to utilize WordPress' ...
1
vote
0answers
147 views

How to protect parts of my code from TinyMCE modification when switching from text to visual mode?

I've got the following problem. When I switch from 'text' to 'visual' mode - TinyMCE is automatically messing around in the code doing unwanted things which breaks my styling - not so good ;/. Is ...
1
vote
1answer
114 views

TinyMCE Styles Dropdown not adding html tags other than span

I am trying to add h1,h2 .. in the TinyMCE Styles Dropdown with my other html elements. I have tried the following code, but the problem is it only adds styles if I use span as 'block' value. If I ...
1
vote
3answers
182 views

How can I control the HTML output of my post?

As you already know, WordPress manipulates posts, even if you write everything in Text mode. (replacing line breaks with \r\n 's , converting single quotes into double quotes etc.) I know this is ...
1
vote
0answers
91 views

Using spellchecker plugin in TinyMCE

I have installed PSpell and updated the config file to use it instead of GoogleSpell. Then in my functions file I have added spellchecker to the plugins part and the button. The button shows up but it ...
1
vote
1answer
230 views

Change TinyMCE Block Format Labels

For the sake of my site editors, I'm trying to rename the Headings in the TinyMCE dropdown. I looked into filtering options but came up totally empty. I've also tried a javascript solution but ...
1
vote
3answers
1k views

Removing buttons from the editor

I have this nice little function to remove buttons from the tinyMCE editor in WordPress, so far I've been able to remove most of the ones I need to. function custom_disable_mce_buttons( $opt ) { ...
1
vote
0answers
655 views

typeerror this.getdoc(…) is undefined wordpress

I have face this issue after upgrade WordPress 3.0 to 3.5.1 . Can anyone guide me how can I fix it. My all tinymce editor stop working after upgrade.
1
vote
0answers
219 views

HTML added to editor when deleting shortcodes in Chrome browser

Example: [shortcode1][/shortcode1] [shortcode2][/shortcode2] In the above example, using the google chrome web browser, while in visual mode in the post editor, highlight shortcode 1 by ...
1
vote
1answer
449 views

Add tinymce to widget textareas

I've got several custom widgets which are extended from WP_widget. Many of these have textarea fields. I'd like to be able to apply a special css class to certain of these textareas in order to ...
1
vote
1answer
736 views

Adding Custom Styles to the MCE dropdown toolbar

I am using the following code to add style drop downs the mce toolbar, I want to be able to add a h1 element with the drop down but my code isnt working, I have tried a couple of different ways but it ...
1
vote
1answer
151 views

wp_editor not modify html tags of initial content

How can i set the tinyMCE editor in wp_editor to not modify/replace the html tags of the initial content ? I'm loading html content with tags (i know that they are deprecated but i need them) and ...
1
vote
0answers
297 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 ...
1
vote
0answers
124 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 ...
1
vote
0answers
127 views

Hook into existing tinyMCE button

Is there a way to hook into an existing tinyMCE editor button? I have a plugin that currently has a button on the editor and it shows a popup-box when clicked. This box has tabs inside. I would like ...
1
vote
1answer
593 views

Customer Support: TinyMCE stopped working (on some computers)

I'm sold on this one. A client has reported he can't edit any text on posts or pages on his WordPress site, claiming the visual editor text is white and he can't click on any buttons. Not even the ...
1
vote
2answers
72 views

TinyMCE editor turns white on Biographical info [closed]

I tried out the solution found here: How to use tinyMCE for user “biographical info” without messing with any core file? and added it to my plugin code. The problem is, it turns the editor white (see ...
1
vote
2answers
797 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" ...
1
vote
1answer
968 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 ...
1
vote
1answer
212 views

in network setup super admin has the tinyMCE buttons and the regular admin has not

in mine network setup, the super admin has the ability to see the tinyMCE editing buttons in the option page, but when i switch to a regular adimin, i can see only the HTML editing buttons (the "rich ...
1
vote
1answer
257 views

Inserting code to HTML view from a pop up initiated from visual view

I am trying to insert html into the HTML view.What i have done is to have tinymce advanced(a wordpress plugin) button that throws a popup and in it is all the necessary things to insert the html.The ...
1
vote
2answers
943 views

Qtranslate + Woocommerce (multiple tinymce) [closed]

I am using WooCommerce and qTranslate to develop an ecommerce website. I run into the following problems. I've googled it and days of trying to no avail. On the top of the product edit pages, the ...
1
vote
3answers
421 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
2answers
2k views

Using TinyMce with textareas in meta boxes on custom post types

I am trying to use the http://www.tinymce.com/ plugin to add a tinymce to my textareas in my meta boxes I have created. I've googled other ways and either I cant get it to work or didnt grasp the ...
0
votes
2answers
266 views

How can I make the page editor trust me?

I want two images to appear side-by-side. However, WordPress inserts a line-break between the elements, even if I use the HTML editor rather than the Visual editor. How can I make the editor trust ...
0
votes
2answers
1k 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 ...
0
votes
1answer
163 views

Tiny MCE doesn't look anything like my blog

I'd like my blog to actually look like what I type in WYSIWYG mode but it's not even close. How do I fix it? www.halseyschools.com
0
votes
1answer
97 views

Add unique class or ID information to tinyMCE

Is there a method to apply a unique body class ID to the editor in the same way that body class information is added to the published page? I am using the add_editor_style() function to render the ...
0
votes
2answers
280 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
77 views

Multiple instances of TinyMCE are removing <p> tag

I'm using the following code in functions.php to add a TinyMCE box on custom field textareas inside the Editor: add_action('admin_print_footer_scripts','FT_TinymceCustom',99); function ...
0
votes
1answer
108 views

Sortable WYSIWYG editor

I have a bunch of wysiwyg editors in a metabox that are sortable. Unfortunately whenever I drag a row around I get this error, and I have no idea what is causing it. Uncaught TypeError: Object ...
0
votes
1answer
182 views

Using post ID in custom tinyMCE button

I'm building a simple plugin and need to be able to access current post id when user clicks custom tinyMCE button (inside its onclick function). How should I get current post ID to do that. Just for ...