The tinymce tag has no wiki summary.
1
vote
3answers
14 views
Removing buttons from the editor
I have this nice little function to remove buttons from the tinyMCE editor in WordPress, so far I've been able to remove most of the ones I need to.
function custom_disable_mce_buttons( $opt ) {
...
0
votes
0answers
16 views
Don't strip iFrame without “unfiltered html” capability
I want some custom user roles to be able to insert youtube iFrames in the wp_editor. But since I don't want these users to have the whole scope of the capability "unfiltered html", I don't know how to ...
0
votes
0answers
17 views
typeerror this.getdoc(…) is undefined wordpress
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
20 views
How to print [embed] code in wordpress [duplicate]
I would like to print the following code in wordpress.
[embed]http://www.youtube.com/watch?v=9bZkp7q19f0[/embed]
But every time I use that code in the wordpress editor, it automatically embeds the ...
0
votes
1answer
30 views
Multiple Block Quotes without using HTML
First of all, I have a client that has no HTML knowledge.
He wants his all his posts to have a certain format where within the post body, he can add multiple pull quotes with different styles.
Note ...
0
votes
2answers
28 views
TinyMCE Editor Set Default Tab
So I removed the tabs from the wp editor using
wp_editor('', 'some-id', array('quicktags' => false) );
But sometimes when the page loads the TinyMCE field loads with the Text tab selected:
...
0
votes
1answer
48 views
Qtranslate + Woocommerce (multiple tinymce)
I am using WooCommerce and qTranslate to develop an ecommerce website. I run into the following problems. I've googled it and days of trying to no avail.
On the top of the product edit pages, the ...
0
votes
0answers
13 views
Wysiwyg not showing in some HUGE pages (can't see the toolbar and page content)
Any (CKEditor, TinyMCE and other) wysiwyg editors not showing while trying to edit some big pages. php5 wordpress 3.5.1, any editor, any OS and browser.
-1
votes
0answers
27 views
Wordpress tinymce plugin button not showing in metabox wysiwyg
I'm using the advanced tinymce plugin to add table button to the wysiwyg editor.
In my pages and post type I have few WYSIWYG tinymce editors, (I use wp_editor or types plugin for this). In the main ...
0
votes
1answer
39 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
38 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
82 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
0answers
36 views
How to change name of tinyMCE toolbar button?
I want to change the tinyMCE pop-up from "Blockquote" to "Indented Quote"
Lots of posts about customizing tinyMCE but none explain to how change just the titles.
0
votes
0answers
53 views
Can't add custom element in Text mode in TinyMCE editor in WordPress
I would like to add a custom element in the TinyMCE editor in WordPress.
In the Visual mode it should look like this:
In the Text mode it should be: <!-- example -->
The element is inserted ...
0
votes
0answers
138 views
Sorting UL Listing Within the TinyMCE Visual Editor in Wordpress
I am trying to use jQuery sortable within the TinyMCE Visual Editor in WordPress. I have had some success in that I can get a UL list to sort, but only if I drag the mouse OUTSIDE of the actual ...
1
vote
1answer
60 views
TinyMCE Advanced list type drop-down
I want to be able to change the list-style-type, for example:
list-style-type: circle;
list-style-type: square;
list-style-type: lower-roman;
list-style-type: lower-alpha;
...
In the plugin ...
0
votes
1answer
127 views
HTML5, WordPress and Tiny MCE issue - wrapping anchor tag around div results in funky output
So I'm using HTML5 on a website and am trying to wrap a div in an anchor tag, which is supposedly acceptable in HTML5 websites. But when I do this...
<a href="#mylink"><div ...
0
votes
1answer
127 views
Adding rich text editor to my plugin
Hello Wordpress users,
I'm trying to add a rich text editor to my own plugin.
So I googled it first of course and I found serveral answers like:
...
1
vote
0answers
52 views
HTML added to editor when deleting shortcodes in Chrome browser
Example:
[shortcode1][/shortcode1]
[shortcode2][/shortcode2]
In the above example, using the google chrome web browser, while in visual mode in the post editor, highlight shortcode 1 by ...
0
votes
1answer
29 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
0answers
33 views
TinyMCE front end add multiple images
I'm currently using a theme which integrates a front-end submission section. However the section only allows users to submit one preview image. I know that it uses TinyMCE for the text-editor.
My ...
2
votes
1answer
85 views
Hacking TinyMCE for better usability (shortcodes and html)
I'm looking for some theme or plugin examples that showcase ways in which to enhance the usability of editing shortcodes and/or custom html objects that have been inserted into the editor.
I know ...
6
votes
1answer
72 views
API to trigger prompt on leaving page
I have a proprietary plugin that creates a metabox on the edit-post page. When the data managed by the plugin is edited and the user navigates away then we would like the user to be prompted as ...
0
votes
1answer
148 views
add button to tinymce
i have the following method to insert a button in Tinymce editor:
in funcitons.php:
class myclaff
{
function __construct() {
add_action( 'admin_init', array($this, ...
0
votes
0answers
53 views
Customize Link button in TinyMCE
I would like to add a text field to the popup that appears when I click on the link button in the visual editor and add a function that uses this input.
Background:
I'm using Lightbox Plus and I ...
0
votes
1answer
36 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
2answers
126 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 ...
-1
votes
1answer
88 views
Is there an alternative way to upload html without using TinyMCE?
I am comfortable editing HTML (I usually use Notepad++). Is there a way for me to upload HTML to my WP site without using the TinyMCE editor? I don't like how it strips tags or puts in unwanted ones. ...
0
votes
0answers
31 views
Hide wp_editbtns in post editor inserted images
Is it possible to somehow hide the two edit buttons (wp_editbtns) which appear on the click on an image that was inserted into a post/page? Normal jquery didn't work for me. I guess I have to hook ...
0
votes
1answer
23 views
Multiple TinyMCEs breaking Distraction Free Writing
I created a meta box which has multiple tinyMCE editors. However, now when I go to edit a page and click the fullscreen button on the main editor, it shows the content of the metabox.
When I close ...
0
votes
1answer
29 views
Problem to insert links on some text in post
When i try to add a local link (toward my own pages) on some text in my post, the AJAX function run indefinitely and didn't find anything. I've opened my browser's console and i've saw the following ...
0
votes
2answers
119 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]
...
4
votes
1answer
102 views
Numbering sections and block-level elements in wpautop(); Wordpress as CMS for long-form writing;
I am starting to learn how to write plugins for Wordpress. I'm interested in using WP as a CMS for long essays (6000-9000 words or more). My problem is what I call the Kindle problem, which is how do ...
3
votes
3answers
223 views
Make fonts.com font work in TinyMCE (iframe referrer issue)
I'm using custom (commercial) fonts in my project. Everything works well in the frontend.
I noticed however that, when trying to add this font to the TinyMCE iframe, I get a 403 for the webfonts. The ...
0
votes
3answers
97 views
Trouble using wordpress functions in a pop-up modal form
I'm working on a plugin and I've added a button to the tinymce editor that pops up a modal form, with options for the shortcode, and then inserts the shortcode with the selected options in to the ...
0
votes
1answer
47 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;
...
1
vote
1answer
234 views
TinyMCE strips line breaks on mceAddControl
I'm using wp_editor to add wysiwyg fields to admin edit screens. Each wysiwyg lives within a draggable meta box. Since TinyMCE has issues with dragging, I'm using the following code:
// on the ...
0
votes
1answer
123 views
Add tinymce to widget textareas
I've got several custom widgets which are extended from WP_widget. Many of these have textarea fields. I'd like to be able to apply a special css class to certain of these textareas in order to ...
0
votes
1answer
104 views
Removing the TinyMCE editor for a given page template
I was looking for a way to remove the TinyMCE Editor for a specific page template in a theme (in my case it's page-home.php). I found the following code, which works, however, I was wondering if this ...
0
votes
2answers
180 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
2answers
339 views
How to add a class to ul tags created by the WordPress editor Tinymce?
I want to set a special styling for the ul tags created by Tinymce only, which means only for posts and pages, I only found this filter tiny_mce_before_init with an example on how to add custom style ...
0
votes
1answer
80 views
tinyMCE duplicates previous block element when pressing return (visual editor)
Going crazy with this. Can't figure out if this is normal behavior.
I have added a filter to rewrite image inserts to use <figure> and <figcaption>. Works well.
However, when I insert ...
2
votes
0answers
94 views
Possible to create placeholder images in Wordpress editor that are clickable (should bring up uploader)?
Working on a project where I would like to have buttons within the actual visual editor area where the user can click on the placeholder image and it brings up the upload dialog.
I've seen that ...
2
votes
1answer
70 views
WordPress MultiSite Paste from Word Tool Does not work
We're using multisite and pages/posts will not paste from word using the paste from word tool. I've tried everything imaginable, disabled theme (no plugins or network plugins enabled) We've tried ...
0
votes
1answer
211 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
375 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 ...
2
votes
0answers
131 views
Adding dropdowns to the tinyMCE editor
I'm new to php and wordpress but I've managed to figure out both pretty easily thanks to the community, forums and blogs. I'm close to figuring out what i want to do here, but wasted hours without ...
0
votes
1answer
260 views
Removing <p> tags around <div> tags
I’d like to stop WP from wrapping <p> tags around <div> tags in the TineMCE editor …
Here’s what I’ve got:
function filter_ptags_on_images($content) {
return ...
0
votes
2answers
81 views
Make videos output as iframes not links
is there any way to change the default output when inserting a video into tinyMCE with Wordpress' default media manager. Currently it inserts it as a link, would it be possible to input it into the ...
0
votes
1answer
100 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 ...
