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

How to add JS files to WP tiny Mice Popup window

I've created Plugin that add button on tinymice editor and When you click on button it opens pupup. For Popup I've created one php file popup.php. This file will be loaded as popup frame when user ...
0
votes
0answers
35 views

Adding tab to custom TinyMCE plugin

I am creating a custom button for the wp posts editor by following this documentation. I replaced the addCommand callback with something like this: ed.windowManager.open({ ...
0
votes
0answers
20 views

How to reference tinymce body in my script

I want to add some custom behaviour to my tinymce body, but I can't reference it in my script. this is how I load my scripts inside my wp plugin. $this->loader->add_filter( ...
0
votes
0answers
31 views

Selectively remove empty line after line change

In WP post editor, how can I change lines without adding an empty line? I try to post this One line Second line third line But it always shows like this One line Second line Third line PS: I ...
0
votes
0answers
43 views

use HTML in TinyMCE Editor

i want to use HTML (schema.org) in my TinyMCE Editor. I use the following script in my custom.php // Prevent TinyMCE from stripping out schema.org metadata function schema_TinyMCE_init($in) { /** ...
0
votes
0answers
14 views

tinymce: how to replace stuff with stuff *permanently* after inserting

really need some help. Basically I need the following. If you enter a specific type if URL to the tinyMCE Post Editor, it shall be instantly replaced with other stuff. Mainly because this requires an ...
0
votes
0answers
21 views

tinymce wpview instance URL

I want some special URL types to be transformed in embedded content objects in the tiny MCE editor. I registered some them like that add_action('init', function() { ... ...
0
votes
0answers
39 views

TinyMCE Advanced config add extra list style

I want to add an extra list style to the dropdown in the TinyMCE editor. Is there a way I can do this? I've also added the plugin Advanced TinyMCE Config. I've tried adding the following (classes ...
0
votes
0answers
47 views

TinyMCE Button with Dynamic Content

Not sure if this is going to be deemed as off topic, but here goes... My WP plugin adds a new button to the TinyMCE editor. All works fine, my button appears and behaves as expected rendering all of ...
0
votes
0answers
29 views

How to correctly enble tinymce and change style on frontend?

I'm using bbpress on a dark theme http://azerothshard.ga/forums/ I've enabled tinymce in bbpress using guide from its official codex but it uses the default skin that is white and doesn't fit my ...
0
votes
0answers
68 views

Caption description in tinyMCE editor

I posted this on the hacks forum of Wordpress a week ago but it seems no one is able to help me there. I'm currently customizing the captions for a client, and I have two separate problems that I ...
0
votes
0answers
33 views

How to disable TinyMCE styleselect multiselect?

I have made successfully a styleselect dropdown to TinyMCE. However now it is possible to select multiple styles for one text. They can be disabled by clicking the style again, but I find this can be ...
0
votes
0answers
40 views

How to remove “justifyfull” in TinyMCE

In my functions.php I have following: function myplugin_tinymce_buttons_2($buttons) { $remove = array('formatselect', 'justifyfull', 'forecolor'); return array_diff($buttons,$remove); } ...
0
votes
0answers
102 views

jQuery get elements inside tinyMCE WYSIWYG field

How can I access elements inside a tinyMCE WYSIWYG field with jQuery/Javascript? My case: I have a Wordpress site using Advanced Custom Fields and several WYSIWYG-fields. I want to be able to get ...
0
votes
0answers
65 views

tinymce Inline Editing Mode

Can we use inline mode with wordpress tinymce. I tried what's shown in the tinymce documentation here, but doesn't seem to work. Is wordpress remove that feature? Live example from the doc.
0
votes
0answers
82 views

How to remove tinymce button created by plugin in specific page

I'm using buddypress docs plugin. In the front end the buddypress docs shows tinymce editor with buttons created by plugins too (In my case Wp-filebase plugin button). I don't want to show wp-filebase ...
0
votes
0answers
26 views

Adding black studio tinymce to custom post type

I created new simple post type like this and everything works fine, except that there's no black studio tinymce editor. Some how there's few post types and there's this editor. Where's my problem? ...
0
votes
0answers
29 views

Resetting TinyMCE custom formatting

I'm adding custom styles in a new dropdown to TinyMCE as per this page and this answer https://codex.wordpress.org/TinyMCE_Custom_Styles TinyMCE: adding CSS to format dropdown My question is - is ...
0
votes
0answers
80 views

Replace TinyMCE with Custom Built Editor

I am looking to build a custom wiziwig, and replace wordpress's TinyMCE all together. I figured out how to add to the TinyMCE editor, but thats not what im looking for. Does anyone have any references ...
0
votes
0answers
62 views

Textarea - TinyMCE

Can you help me please? I downloaded the plugin wpDiscuz and I need to "textarea" embed TinyMCE. part of the code: <textarea <?php echo $wc_validate_comment_text_length; ?> ...
0
votes
0answers
65 views

Add WYSIWYG to Image Description field

I need to build this thing: It's essentially an image with a caption, and it can go inline anywhere in the text. I could just create a shortcode for it I suppose, but I'd really like to integrate ...
0
votes
0answers
20 views

Advanced Layout through TinyMCE

I am trying to get through this problem with advanced layout, I've found here which works great if all of my pages had the same design. What I am trying to achieve is being able to have a different ...
0
votes
0answers
137 views

TinyMCE editor for woocommerce product attribute

I am creating a custom product attribute by a use of a plugin, but there is a problem that it outputs a simple textarea. What I need is either a TinyMCE editor or some simple editor with a possibility ...
0
votes
0answers
114 views

After wordpress widget save (ajax call) tinymce editor gone, data not saved

I have made tinymce editor for textarea fields in widgets. I'm enquing scripts: wp_enqueue_script('tinymce', home_url() . '/wp-includes/js/tinymce/tinymce.min.js'); wp_enqueue_script('tiny', ...
0
votes
0answers
31 views

mceInsertContent repeating previous values

I am trying to insert a shortcode to the editor using jQuery dialog. But every time I click on insert button it adds the previous values with the current values. For example, on first click it adds ...
0
votes
0answers
39 views

How to use a TinyMCE filter?

I am new in WordPress. I am trying to add a filter for tinymce like: function wpdocs_teeny_mce_button( $buttons, $editor_id ) { $buttons = array('bold', 'italic'); return $buttons; } ...
0
votes
0answers
67 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
0answers
108 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
0answers
10 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
124 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
0answers
189 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
144 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
23 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
71 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
245 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
0answers
20 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
260 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
188 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
16 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
31 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
106 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 ...
0
votes
0answers
181 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
81 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
54 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
0answers
49 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
377 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
31 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
96 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
143 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
376 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 ...