Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
13 views

mce_external_languages: how does it really work?

I have been reading very carefully and more than once the documentation, yet I don't understand how to provide a plugin with multiple languages. In the example there is an array, such as: $strings = ...
1
vote
0answers
32 views

Trouble adding tiny mce to textarea in custom plugin

I'm using the Sunrise open-source OOP framework to develop my plugin. I am building out a new settings page and I'm having trouble adding in a WYSIWYG/tiny MCE textarea to the settings page. I've ...
2
votes
2answers
351 views

TinyMCE Anchor Button not showing

I'm using this filter and function to display a custom, stripped-down version of the TinyMCE editor. Everything works as it should...except the 'Anchor' button will not show ('anchor')? According to ...
0
votes
1answer
67 views

tinymce modal and I18n strings methods

Im working on a plugin that loads a tinyMCE modal. As many who know this normally involves opening a static html or even php file. The problem I've run into, is that I would like to translate using ...
0
votes
0answers
161 views

Show Custom Post id in shortcode button on tinymice editor

I have created a custom post Testimonial for my custom theme and i have to display posts using shortcode , i want a shortcode button on tinymice editor so i create a js file for shortcode button Here ...
0
votes
0answers
108 views

How can I enable Visual and Text tabs in a front end implementation of TinyMCE?

I have a plugin that uses TinyMCE for front end entry of content by users. However, the Text / Visual tabs are not available, and I'm not sure how to make them available. Here is the code from the ...
1
vote
1answer
84 views

More than one TinyMCE (wp_editor) with different $settings['drag_drop_upload'] values breaks

It appears that when I have two+ separate wp_editors with different values for drag_drop_upload they all are built as if they have drag_drop_upload set to true. If I set them all to false they act ...
6
votes
1answer
189 views

Any alternate TinyMCE4 themes / subthemes?

TinyMCE4 in WordPress 3.9 has some cool changes, but it seems to have only one "theme" included. Is there any way to make a sub-theme of the theme defined by CSS, and theme.js in ...
-1
votes
2answers
284 views

Tiny MCE POPUP Problem in wordpress 3.9 [on hold]

Tiny MCE popup is not working in wordpress 3.9, I searched a lot but can't find a good solution on internet. One of my plugin is not working properly with this issue. I tried to replace the files for ...
1
vote
1answer
148 views

wp_localize_script with mce_external_plugins in wordpress

I am not sure if it is possible or not. Can i use wp_localize_script with mce_external_plugins filter? I want to send a variable to the tinymce plugin script. For Example: add_filter( ...
0
votes
0answers
27 views

hide tinymce error from the front end

I have created a tinymce button with the help of this action hook add_action( "admin_init", array( &$this, "sample_button" ) ); public function sample_button(){ if( ...
0
votes
0answers
164 views

Add insert/edit link functionality to front end tinymce

I would like to know how to insert/edit link functionality at front end tinymce added by plugin. Before that I thought I can use WordPress's tinymce by wp_editor() but, wp_editor is not working on ...
0
votes
1answer
272 views

Using post ID in custom tinyMCE button

I'm building a simple plugin and need to be able to access current post id when user clicks custom tinyMCE button (inside its onclick function). How should I get current post ID to do that. Just for ...
1
vote
3answers
203 views

How can I control the HTML output of my post?

As you already know, WordPress manipulates posts, even if you write everything in Text mode. (replacing line breaks with \r\n 's , converting single quotes into double quotes etc.) I know this is ...
3
votes
0answers
128 views

Bridge Wordpress Media API with custom tinyMCE plugin [closed]

In my tinyMCE plugin, I would like to be able to call the Wordpress Media manager introduced in WP 3.5. I am currently working on a plugin that needs to fetch images from the library. I know we can ...
1
vote
0answers
772 views

typeerror this.getdoc(…) is undefined wordpress [closed]

I have face this issue after upgrade WordPress 3.0 to 3.5.1 . Can anyone guide me how can I fix it. My all tinymce editor stop working after upgrade.
0
votes
1answer
290 views

What makes a placeholder resizable in Tinymce?

It's not that hard to make a plugin to TinyMCE, similar to what the Wordpress gallery is doing in WP 3.5. Unfortunately, these custom placeholders are always non-resizable, although they show the ...
0
votes
1answer
140 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
1answer
104 views

Add custom classes to TinyMCE generated markup

Is there a way to add custom classes to the markup that the tinyMCE WYSIWYG editor? Obviously, I could apply any styles by targeting the post/page wrapper, but my concern is getting markup to play ...
1
vote
4answers
1k views

wordpress 3.5 tinymce height

I've just upgraded wordpress to 3.5 version and I noticed that TinyMCE Advanced Editor is not as tall as before. How can I change default tinyMCE height? UPDATE This is the screenshot of section I ...
0
votes
1answer
161 views

Get the More QuickTag button back

I can't work out how to add the WP quicktag button back into the editor, I have customized the editor as below: function gimko_format_tiny_mce($in) { $in['remove_linebreaks']=false; ...
0
votes
1answer
795 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 ...
1
vote
1answer
819 views

TinyMCE Autoresize

Looking for a way to make the TinyMCE editor always relative to it's content so that the height of the editor changes accordingly to how much text/images it contains. There seem to be plugins for ...
0
votes
1answer
331 views

prevent caching during tinymce custom button development

I'm following this turial on how to add a custom button to TinyMCE editor in WordPress. Trying to edit author's JS to include my functionality, yet it seems to have gotten cached. Article author has a ...
2
votes
1answer
247 views

TinyMCE Plugin Parameter

Can anyone tell me if there is anywhere I can find out what each of these TinyMCE plugins are for? ...
1
vote
0answers
144 views

Hook into existing tinyMCE button

Is there a way to hook into an existing tinyMCE editor button? I have a plugin that currently has a button on the editor and it shows a popup-box when clicked. This box has tabs inside. I would like ...
1
vote
1answer
645 views

Customer Support: TinyMCE stopped working (on some computers)

I'm sold on this one. A client has reported he can't edit any text on posts or pages on his WordPress site, claiming the visual editor text is white and he can't click on any buttons. Not even the ...
-3
votes
1answer
123 views

install tinymce plugin

I'm sure this is really simple, but I can't find a quick answer anywhere by searching. I just want to include the TinyMCE plugin "template" distributed by Moxiecode into my Wordpress editor. Simply ...
2
votes
2answers
164 views

Shortcode perfomance solution

I have a site that is performance critical. Doing shortcodes I thought about the time the server needs to parse and return the content, instead to allow some HTML (<div class="redletter">) to go ...
2
votes
2answers
1k views

Registering custom TinyMCE buttons, for admin area, to work with custom instances of wp_editor

Thanks to this answer here, I am able to use different instances of wp_editor to determine which buttons each of my differing TinyMCE instances use. However, I'm struggling to actually get my buttons ...
0
votes
2answers
835 views

Front-end image upload from TinyME

I'm trying to edit the Q&A Plugin (which for those of you that don't know it is a StackExchange-style plugin with Custom Post Types of Questions and Answers) to incorporate image uploads. It ...
3
votes
2answers
4k views

TinyMCE Advanced newline problem

I am using TinyMCE Advanced plugin according to qTranslate in a wordpress 3.3 installation. My question is: why does tinymce translate visual editor new line ("enter" key) in a ...
1
vote
2answers
1k views

How can I enable a TINYMCE rich text editor in the admin interface?

I'd like to add some text above my category archives, and I'd like to use the built-in Wordpress TinyMCE editor to do it. I've seen some plugins like black-studio-tinymce-widget which does a nice job ...
0
votes
1answer
759 views

WP 3.3 update disabled editor stylesheet? Or TinyMCE Advanced problem?

I have several CMS websites using TinyMCE Advanced plugin and the editor-style.css style sheet to make editor text resemble website text. After updating to WP 3.3, the editor no longer uses the ...
2
votes
1answer
902 views

How can I find the 'public absolute' path of a file?

Short Version I need to give in the absolute path of a Javascript file that is to be hooked into something. It works if I hardcode it into 'http://mywebsite.com/folder/script.js' However I prefer ...
2
votes
1answer
271 views

2nd button row from WP Super Edit or TinyMCE Advanced doesn't show to 2nd admin

I'm currently using WP Super Edit. But the same problem persists with TinyMCE Advanced. This is how it is configured: http://i.imgur.com/4PyXi.png http://i.imgur.com/YniBi.png ...
2
votes
1answer
1k views

TinyMCE with custom buttons on a meta box

Firstly please allow me to apologise - my fourth question in the week that I've been here! You've all been very helpful though, which is why I keep coming back.. I'm trying to put together a custom ...
4
votes
2answers
2k views

How i can i add a split button or list box to the WordPress TinyMCE instance

I have added a custom button to the tinymce to insert my shortcodes, but I have so many and I want to make a splitbutton instead and I can't figure how. Anyone can help. Here's the code that I've used ...