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
0answers
15 views

Add Item to Custom TinyMCE Menu

I've created a custom menu which appears on my TinyMCE toolbar but would like to add another item to that menu in a separate function elsewhere in my plugin (depending on whether some other ...
0
votes
1answer
18 views

Add Button to TinyMCE Custom Menu

I've added a new button with a menu to the TinyMCE visual editor using this tremendously helpful tutorial but would now like to add further items to this menu depending on whether various post types ...
0
votes
1answer
12 views

`tinyMCE is not defined` after migrating site to server

After migrating site tinyMCE (text editor) top bar have disappeared & text color have changed to black, I am getting 4 errors in concole and below is a snapshot of it. I am using WordPress ...
0
votes
0answers
16 views

How to prevent shortcode preview from breaking in tinymce editor?

I am creating visual preview for shortcodes (just like captions). I have don't most of the parts but my preview html is getting broke by the editor when post is saved. I have investigate it further ...
0
votes
1answer
26 views

how to see P and BR tags in tinymce?

As a developer, I'd really like to have the ability to see every tag written out on the editor in source mode. Is there a way? Some filter, action, or so?
0
votes
1answer
35 views

How to get WP editors tinyMCE instances

My main goal is to get editor content when it changes and update a live preview. For this I need to add an event listener to the editor. BTW, I have two editor in the same page and the page is loaded ...
0
votes
0answers
13 views

How do you prevent the WordPress editor from stripping out <BR> and <P> tags

When I flip between the Visual Editor and the Text Editor, the <p> and <br> tags get stripped out. How do I prevent this?
3
votes
1answer
56 views

WP_Editor - Remove TinyMCE Toolbars

I've created a TinyMCE Editor in a Metabox and I'm trying to remove the toolbars. According to The Codex I should be able to pass it an array of options to override the default TinyMCE. Here's what I ...
1
vote
1answer
48 views

Add a select a class dropdown in tinymce

How can I add add a dropdown/select with pre defined class names into the Wordpress wysiwyg (tinymce advanced) that I can put on different elements? What I'd like: Add some text or any other ...
0
votes
1answer
14 views

Extending the “Add Media”-Dialog … how do I finally insert something to the Post?

I'm developing a plugin, which extends the "add media"-Button in the Post-Editor. I found an example (I think it was nextGen Galley maybe) where wp_iframe is used in the add media dialog. For some ...
0
votes
0answers
7 views

how to disable hidden paragraphs only on admin editors?

is there some smart way to have wordpress stop hidden paragraphs on the code view of the editor? This sentence complitely describe the problem...
0
votes
0answers
14 views

Can't insert links or edit image attributes with visual editor

I am trying to make popup edit screens where I have text input and a wp_editor. My only problem in the editor is that I cant insert links with the visual editor or edit image attributes with the ...
0
votes
1answer
29 views

Wordpress tinyMCE Keep Wrapping <p> Tags To HTML Codes When Saving

Wordpress tinyMCE keep adding <p> tags when I saved my custom post types in visual mode opened! I had searching for many solutions, but not working. Here is the solution that I found, but this ...
0
votes
1answer
77 views

Replace Taxomony Description Field with Visual/WYSIWYG Editor

Is there a way to add a TinyMCE editor to the taxonomy description field on the term editing pages? The solution here (Can you add the visual editor to the description field for custom taxonomies?) no ...
0
votes
0answers
30 views

TinyMCE custom button disapear from visual editor after wordpress update

I am using typegrid wordpress theme. This theme comes with shortcodes buttons on visual editor but when i updated wordpress to 3.9 the shortcode buttons on visual editor disappeared. Can some one ...
0
votes
0answers
30 views

How To Add Custom TinyMCE Buttons In Text Mode

When I add custom buttons to the WordPress Post Editor (TinyMCE), they appear in the Visual mode, but are not visible in the Text mode. I have seen plugins displaying buttons in both the modes. Any ...
0
votes
0answers
15 views

Why can't I type [ ] opening and closing brackets on the Visual tab?

Trying to type [ brings the text area to full screen. Trying to type ] does nothing. It really inhibits my shortcode usage. On the Text tab it works fine, so it's only in TinyMCE. I use an european ...
0
votes
0answers
12 views

open wordpress tinymce editimage dialog on image click from editor

How can i open wordpress tinymce editimage dialog instead of image edit toolbar options. I did following but not seems working editor.onClick.add(function(editor, e) { if ...
1
vote
1answer
27 views

Add table button in editor without Plugin

i want to add the "tablecontrol" ty the editor. This is what I've tried: function my_mce_buttons_1($buttons) { $buttons[] = 'superscript'; $buttons[] = 'subscript'; $buttons[] = ...
0
votes
3answers
164 views

Wordpress tinymce prints empty P tag and break html format

I'm raising this problem because I don't find a latest answer and the problem still exist to me. I'm running wordpress 4.2.2 with x theme when I'm editing the content via WP default editor (tinymce). ...
0
votes
0answers
62 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? ...
1
vote
0answers
23 views

Default Link for TinyMCE “Add Link”

How can I set a default value for the "Add Link" function of the TinyMCE editor so when you press the button the URL will already be set to a predefined value, e.g. "http://www.google.com"?
0
votes
1answer
31 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
15 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
54 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
56 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
24 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
15 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
37 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 ...
23
votes
3answers
3k views

Disable emojicons introduced with WP 4.2

So WP 4.2 introduced emojis (smileys) that basically adds JS and other junk all over your pages. Something some people may find shocking. How does one completely erase all instances of this?
0
votes
1answer
89 views

Can i set css class for table via TinyMCE [closed]

I'm using TinyMCE plugin. And now i need to set css class for table. I found some info on http://www.tinymce.com/wiki.php/Configuration:table_class_list . But how can i apply it in TinyMCE plugin for ...
0
votes
1answer
31 views

Where's the explanation of the TinyMCE's vars in the WP core?

I am modifying my TinyMCE editor for my users, and I'm using the example in the docs as a starting point. function my_format_TinyMCE( $in ) { $in['remove_linebreaks'] = false; ...
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
153 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
73 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
44 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
26 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
22 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
52 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
29 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
39 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
27 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
86 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
48 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
118 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
63 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
31 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
28 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
94 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: ...