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
13 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
11 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
8 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
27 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
27 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
39 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
30 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
17 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
17 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
21 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
41 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
17 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
80 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
33 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
34 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
111 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
43 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
33 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
41 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
47 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
40 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
238 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
128 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
271 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
24 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
21 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
85 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
112 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
210 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
199 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
78 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
35 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
126 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
112 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
275 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
224 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 ...
0
votes
1answer
158 views

Change padding to text indent in “Increase indent” TinyMCE

If you click "Increase indent" in the visual editor it adds the following code into the text editor: <p style="padding-left:30px;"> How to change it to text-indent: 30px; not affecting the ...
0
votes
0answers
35 views

Creating an editable component in TinyMCE editor (like Read More component)

I want to create a component in a TinyMCE editor that is created by clicking a button in a toolbar. So I already managed to add a button to a toolbar and add some text to an editor by clicking it, but ...
2
votes
0answers
205 views

Completely strip any hidden formatting when pasting into TinyMCE

In WordPress v4+, I want to remove all hidden formatting when users paste content into TinyMCE visual editor. The Paste as Text button works when users insert text from Microsoft Word but doesn't do ...
0
votes
0answers
31 views

tinyMCE, style format dropdown customize

I have been looking into tinyMCE api and documentation to solve this problem but couldn't solve.. I am doing following things to add style_format. what it does it creates a wrapper div around the ...
0
votes
0answers
110 views

TinyMCE editor doesn't keep new lines

I'm using the plugin USP-Pro to let users submit content to a Wordpress blog. The form I've created contains different input fields and one textarea. For the textarea I've used the attribute richtext ...
0
votes
1answer
46 views

Remove heading tags on line break

I have to add line breaks in a h1 paragraph using the visual editor. On every line break Wordpress automatically adds h1 tags to every new line. Example: <h1>Watsup</h1> ...
2
votes
1answer
124 views

Am I using the right hook for removing quicktags on the admin TinyMCE?

This is more of an excercise than something for a client. Anyway, I'm trying to disable the quicktags when you're on the dashboard and you click on Comments > Edit Comment. On that screen, there's a ...
1
vote
2answers
86 views

Should the WP post editor B (bold) button be inserting a <b> tag instead of <strong> in HTML5?

Using WP 4.0. I thought that the html5 schema was supposed to be turned on by default. That would mean that clicking the B (Bold) button would generate a <b> tag, rather than a <strong> ...