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
910 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
439 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
1answer
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
3k 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
38 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
482 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
595 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
619 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
221 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
310 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
766 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
423 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
744 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
254 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
544 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
2k 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
891 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
3k 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
171 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
667 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
312 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
550 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> ...
0
votes
3answers
790 views

Wordpress Tiny MCE won't accept line breaks

Encountered an infuriating issue where I f i want to add multiple linebreaks for layout between paragraphs, Wordpress doesn't recognize them in th wysiwig editor. If I enter them in the code window, ...
0
votes
2answers
1k views

Unable to save Theme Options when TinyMCE is enabled for the text area

On the site I'm currently developing I have created a theme options page (under Appearance). All there is on this page is a text area so the client can add some summary text to appear above their ...
0
votes
3answers
1k views

wp_tiny_mce function not found

I am trying to add the embedded TinyMCE editor to content area using the code: add_action( 'comment_form_after', 'tinyMCE_comment_form' ); function tinyMCE_comment_form() { wp_tiny_mce(false, ...
0
votes
1answer
835 views

How to add shortcode to show/hide press releases?

Is it possible to create a TinyMCE button and shortcodes to WordPress to enclose press releases in, so that they're hidden by default, but at the press of the button, they would expand to reveal the ...
0
votes
1answer
194 views

Can Rich Text features be configured per user?

There are obviously different types of users (from power-users to casual authors). WordPress's Rich Text editor is based on TinyMCE - which has a lot of features. Most of these features are ...
0
votes
1answer
2k views

Adding tinymce to Custom Field boxes on Category edit page

I've managed to add the required custom fields to my category edit page (the code is below). All I'd like to do it have the textareas #Category_Extras_Features and #Category_Extras_Applications to ...
0
votes
1answer
213 views

How to add future Posts to the new “Internal Linking” Feature

The new Feature "Internal Linking" is only showing already published posts. If writing a series of posts planned for future publishing, these posts are not showing up in the list. Is there any hook or ...
0
votes
1answer
999 views

How can I remove <div =“mceTemp”> using built in wordpress filters

I'm getting image fields wrapped in tags and would like to remove the surrounding divs, but only if they are of class "mceTemp". Anyone know of an efficient way to do this? Also, should those Divs ...
0
votes
1answer
11 views

Custom TinyMCE style formats disabled

I've created a TinyMCE style dropdown for the TinyMCE WordPress editor. The formats are appearing as expected on the editor but when the drop down is expanded to choose from a style, they are showing ...
0
votes
1answer
30 views

Blank spaces show as a question mark

I have a client who wanted to restore her old website from 5 years ago with a very small budget. I suggested that she at least uses Wordpress for CMS and now she has a limited editing capability of a ...
0
votes
0answers
39 views

Editor Styles Not Working

I am trying to re-style the TinyMCE editor here: http://dannymcgee.net/duskguard/forums/forum/general-discussion/ I've tried both of these in my functions.php: add_editor_style(); or ...
0
votes
1answer
64 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
35 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
22 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
1answer
44 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
0answers
31 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?
0
votes
1answer
18 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
8 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
25 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
50 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
0answers
48 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
46 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
16 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
23 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 ...
0
votes
0answers
109 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? ...
0
votes
1answer
42 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 ...