The tinymce tag has no wiki summary.
0
votes
1answer
18 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
52 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
32 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
45 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
87 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
37 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
86 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
63 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
43 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
24 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
28 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
67 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
67 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
97 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
43 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
32 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
78 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
67 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
26 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
21 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
28 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
114 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
91 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
189 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
88 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
43 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
201 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
106 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
91 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
158 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
287 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
61 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
89 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
67 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
146 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
284 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
116 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
223 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
74 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
89 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
61 views
TinyMCE buttons broken
For some reason my TinyMCE buttons are completely misaligned and have the wrong background-position (See image below):
I have attempted to download a fresh install of Wordpress 3.5 and replaced my ...
0
votes
2answers
353 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 ...
5
votes
1answer
255 views
Hide “Add media”, html editor from tinymce
I have a custom post type which supports editor. (WordPress ver. 3.5)
I want to customize the editor for it.
Make it readonly
Hide "Add Media" button
Hide HTML editor
Remove status bar showing word ...
3
votes
1answer
240 views
Shortcode to insert <!--nextpage-->
Since wordpress does not have a menu icon (aka "user friendly) way to add the command to a post or page, I'm trying to create a shortcode to do it.
However, as logic would have it, its not that ...
0
votes
0answers
121 views
Enqueue Script After TinyMCE initialized
I am making a small live preview area inside a meta box using jquery where i need to get content from tinymce editor. But it seem my script loads before tinymce, this returns null when i try to get ...
0
votes
1answer
271 views
Pass data back to TinyMCE from Thickbox
I've added a shortcode button in the TinyMCE editor in the page/post pages that opens up a Thickbox form.
The button is working; it opens up the thickbox form like it should. However my stumbling ...
2
votes
0answers
144 views
TinyMCE popup windows using WP functions
In my editor I would like to use a TinyMCE generated popup to insert in the textarea some complex shortcodes. I use the TinyMCE API to show the popup (bottom of this question). The popup is a PHP file ...
0
votes
0answers
196 views
Jquery autocomplete not working on Wordpress post edit screen, (conflict with tinymce scripts)
TOday i did a lot of googling to find the solution to my jquery autocomplete issue. Finaly i am here to find help... The issue is...
On my wordpress admin side (on post edit screen) I am using jquery ...
0
votes
2answers
217 views
Bridging TinyMCE js and Wordpress PHP?
I'm updating my wordpress plugin to use a custom TinyMCE button. From inside the TinyMCE button javascript, I'd like to interact with wordpress data--ie set custom post options inside the plugin ...
4
votes
1answer
146 views
Saving (Updating) Post / Page Edits With AJAX
One of the major frustrations while editing posts/pages is that after saving, two things happen:
The admin page is reloaded, which takes time
More importantly, the cursor position is lost
If ...