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
10 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
8 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 ...
-1
votes
2answers
17 views

How to add the “Proofread” button of the Jetpack Spell Checker to the post title field? [on hold]

Please tell me whether it's possible to add the "proofread" button to the post title so it'll spell check it when clicked, in the same fashion it does with the text editor (mark errors and the ...
0
votes
0answers
14 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
17 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
5 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
9 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
18 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
15 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
16 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
16 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
43 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
34 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
53 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
41 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
19 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
20 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
36 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
25 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
22 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
13 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 ??
0
votes
0answers
66 views

Close TinyMCE plugin window on click away

I've created a small plugin which adds a button to the TinyMCE toolbar. When clicked, it opens a popup window via editor.windowManager.open(). That popup can be closed by (1) clicking the "Cancel" or ...
0
votes
0answers
21 views

WordPress manually load TinyMCE scripts

How can I manually load the scripts that TinyMCE requires to run on the front end of the site? I'm pulling wp_editor through AJAX, so I know I'll need to run actions in order to get the proper scripts ...
0
votes
1answer
106 views

Is there a good way to load tiny_mce_popup.js through editor.windowManager.open?

I need to load tiny_mce_popup.js in my page video.php. The page video.php is a popup. {text:'Video', onclick: function() { editor.windowManager.open({ title: 'TinyMCE', ...
0
votes
0answers
39 views

Set tinyMCE content filter to execute before other filters

I am looking for a JavaScript way of filtering the content when switching between the visual editor and the text editor. The filter is used to allow users to write code on both the visual and the html ...
0
votes
0answers
53 views

Custom settings page TinyMce: no formatting when echoing value of editor

I have created a custom settings page with a couple of wp_editor() calls on it. When I enter some text in the editor, and format it (e.g. make it bold), and then save it, the value is saved in the ...
3
votes
1answer
137 views

How can I insert HTML attributes with an existing TinyMCE button?

When I insert an image into the post editor, select it and click the "align left" button, it automatically adds the alignleft CSS class to the image, like so : <img src = ...
0
votes
0answers
65 views

How to force TinyMCE to update

I'm using the wp_editor function to display TinyMCE on the front end of my site. I have an AJAX script hooked up to the submit button on my form that shoots off to admin-ajax.php (as in WordPress ajax ...
0
votes
0answers
45 views

tinymce 4 load plugin from external directory

I am testing loading an external plugin in jQuery tinyMCE with wordpress 4.0 thanks to this thread. If I put the plugin in a folder within the tinymce plugins directory it finds it just fine. ...
0
votes
0answers
65 views

jquery tinymce and bundled wp plugins

So I managed to get dynamically generated versions of jquery tinymce to work in wordpress and work with the bundled wplink js plugin - albeit pretty badly hacked together. Was wondering if anyone has ...
0
votes
0answers
61 views

Add Upload button in Tinymce Editor popup?

I am creating a tinymce popup where I need to have an option to upload file. I searched for a while but could not find any solution for this. Is there anyone who can help me to grab it ? Please ...
0
votes
0answers
6 views

how to add tinymce_cleanup to wordpress editor

Basically I want to achieve this: http://blog.room34.com/archives/5075, because my wordpress install keeps inserting non-breaking spaces all over the place. Can anyone point me to a resource on how to ...
0
votes
1answer
43 views

TinyMce Chrome newline issue

Is anyone else having this issue. It is not possible to add a newline (line break <br/>, using 'enter') at the end of a text in tinymce. Only a ctrl + enter (paragraph) works. This problem only ...
1
vote
2answers
342 views

tinymce is not defined when not using wp_editor

I am using jQuery tinyMCE to populate dynamically generated text areas with tiny MCE editors. When I use the WordPress wp_editor function before I call the jQuery version, I have no issues. If I do ...
0
votes
1answer
33 views

TinyMCE Javascript URL Question

ed.windowManager.open({ file : url + '/shortcode_generator_popup.php', I would like to move this file one folder above the current one that it's in. I'm wondering how I can rewrite ...
0
votes
1answer
168 views

Make tinymce button have a checkbox that returns a value, instead of true/false

from my understanding the checkbox of the tinymce buttons only return true or false? Is there a way to get a checkbox list? And all the item's values inside the checkbox list that are checked will ...
1
vote
1answer
327 views

Remove quicktag buttons but not Visual / Text editor and tabs

I wish to remove the quick-tag buttons in the text (html) editor in TinyMCE but not the html editor itself nor the tabs for choosing between the editors. When I use $settings = array('quicktags' ...
0
votes
1answer
28 views

how to enable tinymce custom buttons in meta box?

I have a default setup for including external plugin for tinymce, that is working on default editor. But not when tinymce used in metabox. I there a way to force them to load there too?
0
votes
0answers
23 views

TinyMCE JS Plugins

Wordpress 4.0 comes with TinyMCE JS bundled. In the JS TinyMCE plugin folder I see a number of wordpress specific plugins for TinyMCE. wordpress wpautoresize wpdialogs wpeditimage wpfullscreen ...
0
votes
0answers
112 views

Wordpress add menu to page content using editor

I can manage custom menus in Appearance -> Menus Then, I can add any of these custom menus to the page content by inserting a shortcode like this in the editor: [menu name="Menu1"] Question: How ...
0
votes
0answers
132 views

How to open media browser from tinyMCE window?

I'm trying to create a shortcode to embed audio files, with custom data as copyright owners and year, etc. It's a basic tinyMCE window with textboxes to insert the information, and the URL of audio ...
0
votes
1answer
251 views

How disable checkbox when listbox value changes in tinymce

I'm creating a custom popup in tinyMCE for WordPress, to insert video shortcodes, so I have a list of websites (YouTube, Vimeo, Vine, and others) in a listbox, and a checkbox to let the user decide to ...
1
vote
1answer
215 views

Multiple TinyMCE editors in dynamically generated textareas

I have text-areas dynamically populated in the admin section of my custom post type. <div class="media_div"> <span>Media</span> ...
2
votes
1answer
83 views

TinyMCE - Add button that changes direction of selected text

Ok, I am going to create website in Urdu(rtl) & English(ltr) language that contain paragraphs like this: <p style="direction:rtl">کیا حال ہے buddy? سب خیریت ہے؟</p> You can see that ...
0
votes
1answer
38 views

Better code/text editing for posts and pages?

What is the most well known or liked method or plugin to improve the text editor for posts/pages? I would love to have syntax highlighting and formatting, along with other IDE type functionality in ...
1
vote
1answer
61 views

How to Add TinyMCE's plugin in wordpress?

I had found a TinyMCE's plugin that change the direction of selected text. How to add this plugin in wordpress? Any one guide me? I had tried to add it in ...
0
votes
0answers
183 views

Add tinymce dynamically via Javascript

I'm struggling to add dynamically a tinymce textarea. I added a custom meta box which contains a button that should add a tinymce. As I'm on post/page, I guess I don't need to include any scripts ...
6
votes
1answer
120 views

Modify links when inserted by WYSIWYG editor

Is there any possibility to hook into the editor of WordPress so that if a link to an internal content is inserted via the WYSIWYG editor the post id of that linked post is added as a data attribute ...
0
votes
2answers
341 views

allowing all HTML tags in tinymce editor

I have a plugin where I am creating a shortcode that creates a form with a textarea field. I would like the user to be able to insert a complete HTML page into the editor - including the HTML and BODY ...
0
votes
1answer
281 views

Disable HTML (Text) Tab in Post Editor

I am attempting to disable the Text tab in the post editor but not having any luck. The first thing I want to do is set the Visual editor to be the default but this code does not work (it is being ...