The tinymce tag has no wiki summary.
0
votes
1answer
17 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
20 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
250 views
Issue displaying multiple TinyMCE editors with WPAlchemy
I have a custom post type with a WPAlchemy admin meta box class including multiple textareas with TinyMCE editors(for adding content to the custom post template). I've gotten the editors to display ...
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
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
1answer
53 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
1answer
171 views
How do I change TinyMCE button “i” to create a i tag rather than em?
I want to give the "italic" button back the "styling" behaviour, rather than the spammy <em>. I want that button to print a <i> tag, rather than <em>.
<em> tags became popular ...
2
votes
2answers
453 views
Using Wordpress' WYSIWYG for comments
I've been trying to set up the comments section of a site I am working on to use the default Wordpress WYSIWYG (TinyMCE). But it's harder than expected.
I used this tutorial to take me almost all the ...
2
votes
1answer
127 views
How do I preview the result of a shortcode in the TinyMCE editor?
I have created a shortcode via the Shortcode API that does something like this:
[accordion_item numero="01" primeiro="true"]Item 01[/accordion_item]
[accordion_conteudo]
Lorem ipsum dolor sit amet, ...
1
vote
1answer
111 views
wp_editor not modify html tags of initial content
How can i set the tinyMCE editor in wp_editor to not modify/replace the html tags of the initial content ?
I'm loading html content with tags (i know that they are deprecated but i need them) and ...
2
votes
1answer
123 views
Show All Posts Insert Edit Link
When I click to insert/edit link in the tinyMCE rich editor for a post, then click "Or link to existing content", it shows only posts that are live and published. Is there a way to get the list that ...
1
vote
1answer
270 views
Adding Custom Styles to the MCE dropdown toolbar
I am using the following code to add style drop downs the mce toolbar, I want to be able to add a h1 element with the drop down but my code isnt working, I have tried a couple of different ways but it ...
0
votes
0answers
88 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 ...
0
votes
0answers
33 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
1answer
87 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
148 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 ...
2
votes
1answer
68 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 ...
1
vote
1answer
39 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
2answers
161 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
65 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
764 views
wordpress qtranslate editor text is not working
I have installed qtranslate on my wordpress site, it all works fine, but sometimes the content editor does not show the text, When I force refresh the page a few times (Ctrl + r) eventually the text ...
0
votes
0answers
29 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 ...
3
votes
2answers
627 views
Forcing reload of editor-style.css
Is there a method to force the refresh of editor-style.css, when I change manually the stylesheet for the TinyMCE editor? Modification doesn't show immediately but they will be cached in the admin ...
6
votes
1answer
68 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
98 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
33 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 ...
2
votes
2answers
5k views
How to add a custom button to the tinyMCE toolbar?
I want to add a custom button to the tinyMCE toolbar in the 'Add New Post' screen which when clicked, will insert text into the new post.
I have tried using this code (from ...
1
vote
2answers
81 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 ...
2
votes
1answer
187 views
Instantiate TinyMCE via JS ( rather than PHP/wp_editor )
Once a page has loaded, how do I create a TinyMCE editor?
Putting a wp_editor call in an AJAX request then displaying it gives this:
Visual and text tabs are nonfunctional, no toolbar, no active ...
4
votes
1answer
765 views
Custom Tiny MCE button to bring up a custom php popup
I have a tiny MCE button but I'd like to make it open a modal window(like for the spellcheck). How do I go about doing this?
tinymce.create('tinymce.plugins.tinyplugin', {
init : ...
-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
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;
...
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
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]
...
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 ...
1
vote
1answer
234 views
Add a class to links in the visual editor (how to get old dialog back)
New:
Old:
In short, i want a list of some classes inside the add link dialog. Because this was default there might be a easy way to get it back like this?
Long:
I like to have the ability to ...
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 ...
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 ...
9
votes
5answers
7k views
Extra TinyMCE editor strips <p> and <br> tags?
Hey guys, I've added a TinyMCE to some textareas that are displayed in a custom meta box. All of the formatting works perfectly fine, except that the editor will not save <p> or <br/> ...
3
votes
3answers
190 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
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 ...
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 ...
1
vote
1answer
1k 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 ...
6
votes
2answers
3k views
Wordpress automatically adding “ ”?
I'm not sure if is wordpress itself or Tiny MCE that's doing it. But when switching between HTML and Visual editor it's adding , and adding an extra one each time I switch back and forth. I ...
0
votes
1answer
107 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
92 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 ...



