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
41 views

Generate Own Custom CSS Button with icon

I recently changed my WordPress theme and noticed that all the buttons in previous theme are gone and are now looking like this on my new theme: [button link="http://.....com" style="download" ...
0
votes
1answer
21 views

How to edit blockquote image

I'm using TinyMCE Advanced, to show more options to edit text. When I use the blockquote, an image appear, like this: How can I change this?
0
votes
1answer
140 views

TinyMCE editor - new lines not rendered on front end

I've been working with a plugin making various tweaks and adding additional functionality. It uses custom post type to create a page with an associated download. In the admin area which allows you to ...
0
votes
1answer
65 views

Make Textarea a TinyMCE (editor box)

Ive picked up an old plugin and am needing to enhance it for my clients specific needs. In the admin section there is a text area used to add info about a download (essentially a custom post type). ...
0
votes
1answer
50 views

How do I add multiple buttons to Tiny MCE in a single plugin?

I'm using a custom plugin to add custom buttons to my visual editor. Right now, I've followed this tutorial and added a "code" button, but I'd also like to add a "cite" button that wraps the selected ...
0
votes
1answer
370 views

How to keep   non-breaking spaces in the visual editor?

I often add   between connecting words so they break down together to a new line in important text. Switching to visual tab then back to text tab removes these. What can I do to keep them and ...
0
votes
2answers
324 views

How to remove the statusbar from the default wordpress editor?

How to remove the letter P from the default wordpress editor? Previously i have removed that P but now the entire code changed from the class-wp-editor.php file.
0
votes
1answer
701 views

TypeError: window.tinyMCE.execInstanceCommand is not a function

I can't add any shortcode in my wordpress editor. it shows - TypeError: window.tinyMCE.execInstanceCommand is not a function window.tinyMCE.execInstanceCommand(id, 'mceInsertContent', false, ...
0
votes
1answer
92 views

WordPress (TinyMCE) not removing script tags

We have an installation of WordPress (3.9) where TinyMCE is not removing script tags (in posts etc). This isn't correct, I believe?! I think a developer that worked on the project possibly changed ...
0
votes
1answer
356 views

Adding CSS to admin TinyMCE editor for custom button

I have created a plugin that adds a new button to the TinyMCE editor in the admin edit pages/posts area. I am trying to apply a font icon to it as per the the other buttons in Wordpress 3.8. I have ...
0
votes
1answer
239 views

How to add class to an html output element in tinyMCE paragraph drop down menu

I tried to modify the TinyMCE behaviour in the functions.php. I try to accomplish that e.g. h4 gets a class of "headliner" per default. I am half way there. I found a setting to create a drop down ...
0
votes
1answer
147 views

TinyMCE: Move buttons from 2nd row to top row

I have disabled many of the TinyMCE buttons making the two rows quite empty. Is it possible to move the remaining buttons from the second row (that is displayed when hitting the Kitchen Sink button) ...
0
votes
1answer
47 views

Change type of permalinks on TinyMCE link dialogue

I recently ran into a problem when inserting text links into post content, and then updating the target post's slug or changing permalink options - the link in the post content won't get updated. ...
0
votes
1answer
537 views

Cite-Tag for blockquotes

I want to have a cite underneath my blockquote, that has a certain style. "Blockquotes are an essential part of a fancy website." – Cite The markup ...
0
votes
1answer
97 views

Send data to Editor before saving the post

I have created a meta field in the new post page. When I add some content in the meta field, I store it in a hidden textarea. When a post is saved, I want to clear all content of the editor and copy ...
0
votes
1answer
664 views

TinyMCE format dropdown no longer showing style previews

In the past, by adding the editor stylesheet, I was able to see the options in both the Format and Styles drop-downs, as they would appear in the post. That is, the entry in the menu would be styled ...
0
votes
2answers
192 views

Wordpress stripping out BR tags, need assistance

Im having a problem where WP for some odd reason is stripping out my BR tags. Ive looked online and have read a few solutions that people offered including the installation of TinyMCE advanced plugin ...
0
votes
2answers
819 views

Change the background of the TinyMCE editor with available WP arguments

I'm using an instance of the TinyMCE editor in a plugin form, and I need for the editor to be highlighted (light red background) if the field is not correctly filled in. I can add a custom class ...
0
votes
1answer
229 views

help on wp_editor via ajax load [duplicate]

So I have been spending hours trying to figure out how to make the wp_editor() work on an ajax generated content. I bumped into this post: Load tinyMCE / wp_editor() via AJAX and tried the solution ...
0
votes
1answer
3k views

Insert text a cursor position in to TinyMCE text editor

I have a small function that allows a user to click a button under a textarea, and have the relevant text inserted (this works in conjunction with the jQuery textrange plugin). However, because I'm ...
0
votes
1answer
207 views

Example for use tinymce in wordpress 3.5.1?

I'm search the topic about how to use tinymce in wordpress 3.5.1 and i not found. I'm writing plugin and i have textarea that i want to add timymce into What should i do to add tinymce into suppose ...
0
votes
1answer
722 views

Convert textarea with wp_editor

I have a custom tabbed menu which has some input fields that works properly. I followed this tutorial: ...
0
votes
1answer
142 views

TinyMCE Advances is removing blanks (“ ”)

I want to keep blanks " " inserted by the user in Wordpress with the TinyMCE Advanced plugin. He keeps them only if there are some letters at the beginning. E.g. Fr 09:00 - 18:00 But he don't ...
0
votes
2answers
194 views

Why Editor reformats my code

I'm using TinyMCE Advanced and SyntaxHighliter plugins on my WordPress install. Why does the editor change my inserted code, from: [php] <?php /** echo('code'); /**/ [/php] to: [php] ...
0
votes
2answers
552 views

Problem with Line spacing in wysiwyg editor in WP 3.5.1

Since updating to 3.5.1, I can no longer get single line breaks in the WYSIWYG editor. I used to be able to shift-return for a line break and return for a paragraph break. But now all lines have ...
0
votes
1answer
802 views

How to close tinymce inline popup

I have been looking around, but am unable to close the popup programmatically. The following code does not seem to work. tinyMCEPopup.close() TypeError: Cannot read property 'windowManager' of ...
0
votes
1answer
2k views

How to remove buttons from tinyMCE in wp_editor added via AJAX

I've created a plugin with a custom post type that uses the standard editor. Also on the page, I've got a button that causes a jQuery dialog to pop up that also contains the tinyMCE editor created ...
0
votes
1answer
367 views

Custom characters of tinymce editor are saved as question mark

I have integrated tinymce editor of wordpress to my custom plugin. I save the data entered in to Database via ajax like this: encodeURIComponent('<?php echo ...
0
votes
2answers
1k views

enable TinyMCE for comment forms

Is there any way in Wordpress to use a richt-text-editor (preferable the build in TinyMCE) on the comment form textarea in the frontend? I had such a feature in earlier versions, using the plugin ...
0
votes
1answer
2k views

Stop Wordpress removing <script> tags when switching from HTML to Visual (TinyMCE)

Ok, I've seen solutions which go halfway to sorting out this problem, but nothing definitive, and nothing that 100% solves my problem. Scenario: In HTML mode, I add some javascript to a post I'm ...
0
votes
1answer
34 views

“After file loaded” action

I have a plug-in that allows for repeatable fields. There will be an image and the image description. The description allows for tinyMCE editing. There are obviously problems with this, but I think I ...
0
votes
1answer
3k views

wordpress qtranslate editor text is not working [closed]

I have installed qtranslate on my wordpress site, it all works fine, but sometimes the content editor does not show the text, When I force refresh the page a few times (Ctrl + r) eventually the text ...
0
votes
1answer
383 views

Tiny MCE custom styles, and preview in the backend

I've added the styles dropdown list to my TinyMCE editor in Wordpress. If I select the style, and preview it on the front end, it looks exactly like I expect it to. However, I'd like to preview it ...
0
votes
2answers
500 views

Add class to all links created by tinyMCE

I'm attempting to automatically add a class to all links created when clicking the "link" button in tinyMCE. I've found this snippet in the tinyMCE docs: // Adds a class to all paragraphs in the ...
0
votes
1answer
471 views

Easy way to inject js in tinymce iframe?

I was wondering if there any direct hook to inject some javascript into tinymce iframe?
0
votes
1answer
1k views

How to disable tinyMCE button added by a plugin?

I know how to disable TinyMCE default buttons with add_filter('tiny_mce_before_init') using theme_advanced_disable parameter, but a button added by a 3rd party plugin seems impossible to hide with ...
0
votes
1answer
213 views

Insert attachments from custom uploader into post (regular uploader style)

I recently started using this nifty meta box framework: http://www.deluxeblogtips.com/meta-box-script-for-wordpress/ I really like the plupload meta box, however, I need to be able to add the ...
0
votes
2answers
291 views

TinyMCE - Insert media at the beginning of post

I want to modify TinyMCE in WordPress so that it inserts media (image etc.) always at the beginning of post contents. For this I need to change the cursor position to the beginning, insert media and ...
0
votes
2answers
642 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
371 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
642 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
251 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
478 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
1k 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
799 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
2k 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
140 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
530 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
231 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
535 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> ...