The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
115 views

How to get line breaks to translate to paragraphs?

How can I get the line breaks that I make in the TinyMCE editor to translate into new lines in the web page. Suddenly all posts when actually previewed on the theme are walls of text. In the final ...
0
votes
4answers
524 views

Resizing the wordpress editor

I've been looking around on how to re-size the WYSIWYS editor for wordpress and have used firebug to re-size the #post-body-content but it doesn't resize ever. It will resize in the firebug ...
3
votes
2answers
4k views

Resizing the width of the WYSIWYG editor

Just a simple question here but though my googling and searching efforts haven't found the answer to it. I'm wanting to re-size the width of my WordPress WYSIWYG editor to be 650px. What do I have to ...
0
votes
4answers
3k views

How to add editor-style.css styling to wp_editor on front end for comments

How can I apply my own css (to match editor-style.css) to wp_editor being used on the front end for comments? Currently I'm using code from here to enable the visual editor for comments. My actual ...
1
vote
1answer
651 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 ...
0
votes
2answers
126 views

Line breaks </ br> changing to <!— br--> when switching between HTML and Visual tab!

I'm a code newbie and I was just making a wordpress post and instead of using the correct line break code of <br /> I used </ br> in the VISUAL editor. When I switched to the HTML editor ...
2
votes
2answers
168 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 ...
0
votes
2answers
432 views

How To Hide The Visual And Html Editor Completely?

I have some clients that are going to be using wordpress for their sites. I created custom fields for them to input data in so they don't have to use the editor. How do I hide the page editor ...
0
votes
1answer
44 views

Can't give tags rels

In my Wordpress post I click on edit post and skip over to the html editor tab and click on it. I have a pre on that page and when i give it a rel and publish its all fine but when I skip back over to ...
1
vote
1answer
7k views

How to enable the <br /> tag in Wordpress posts and pages

i can't understand why so simple feature are disabled by Wordpress Team. I want have line breaking with "br" tag. On one wordpress forum was idea to modificate editor.js (in wp-admin/js) and ...
5
votes
1answer
536 views

Change behavior of “Insert into Post” based on attachment metadata

For a custom plugin I'm working on, I have added a checkbox element to the attachments editor in a manner like the answer provided here: How to add a checkbox element to attachments editor with ...
0
votes
1answer
859 views

Lost formatting after saving

I make basic formatting to the text in visual editor. When saving, everything got lost, formatting, spaces, paragraph.... everything got inline... I will go crazy !... why it's doing that ?.. i can ...
4
votes
2answers
2k views

Disable h1 and h2 from rich text editor combobox

In the Wordpress control panel, when writing a new post, I would like to disable the Header 1 and Header 2 from the text formatting combobox, because I already use them on my theme (h1 for blog name ...
1
vote
3answers
2k views

Preserving tabs and line breaks in <pre><code> when switching from HTML to Visual Editor

Tabs placed in a <pre><code></code></pre> block are stripped and line breaks are removed leaving a single continuous line of text. This occurs when switching from html to ...
0
votes
1answer
18 views

How to determine if a post was last edited in the Visual Editor

Is there any way to determine whether a post was last edited using the Visual or HTML editor? Perhaps by hooking into an action?
1
vote
0answers
235 views

Wordpress Page Edit gives Error 404 [closed]

I'm having the stupidest problem, ever. I can manage and edit pages just fine, but after some time, I can no longer edit or preview a page and I receive an "Error 404 - Page Not Found". This ...
0
votes
1answer
67 views

Sorting editor screen items

When new users log into our site they have to organize a number of screen options in order to begin creating custom fields and editing the site. I would like to force a specific order in which these ...
1
vote
1answer
840 views

Can I remove the Rich Text box editor for a specific post?

A few months ago I asked a similar question: Is it possible to remove the main rich Text box editor? and got the following answer: function remove_pages_editor(){ remove_post_type_support( ...
0
votes
1answer
3k views

qTranslate 2.5.28 and WordPress 3.3.1 issues [closed]

Anybody knows how to solve the issues in qTranslate 2.5.28 with WordPress 3.3.1? http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3045 ...
1
vote
2answers
813 views

Pasting code into pre-formatted text in Visual Editor not working in 3.3.1

Pre-formatted text in the Visual Editor is not behaving like I'm used to. I've got an old installation (3.2.1), and when create pre-formatted text, all the line-breaks and spacing is preserved. In ...
0
votes
2answers
186 views

Cafe Food Menu upload

A funky cafe changes their menu every month, and they're not comfortable with using the default Wordpress editor to make a Wordpress page look the same as their Word doc. Example word doc here. Can ...
1
vote
1answer
317 views

WYSIWYG eating up first p in td

Basically going mad on this one. Been googling about for quite some time now to find an answer. Most hits are on year old posts. I tried to alter how TinyMCE initiates with "remove_linebreaks" set to ...
0
votes
1answer
560 views

How to remove some options in visual editor?

I want remove some options in visual editor. How to remove them? For example i want to remove the following. Align left option Align center option Align right option More tag option Add media ...
0
votes
1answer
763 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 ...
4
votes
2answers
2k 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 ...
0
votes
1answer
1k views

How to force <p> insertion in editor

EDIT 2 The following edit has some mis-information, see the selected answer and comments. EDIT I am a fool. The editor was in fact adding <p> tags as expected. I was using a combination of ...
1
vote
1answer
89 views

Extra option in editor

I'm sure there's an easy solution to this, but I'm wondering how to add custom input fields in the Wordpress editor. My goal is to have an image uploader to the right of the main editor, when an ...
2
votes
1answer
321 views

How to enable user_can_rich_edit for guests?

Using wp 3.3beta1 with the wp_editor on the front-end for bbPress. When calling the editor on the front end, how do I allow a guest to see the visual editor? I only see options to disable the visual ...
1
vote
0answers
123 views

Visual editor broken after upgrade [closed]

Yesterday a colleague updated WordPress and a number of plugins on our site. Since then, the visual editor displays the contents of pages and posts as HTML, it is also white, whereby we first thought ...
0
votes
1answer
859 views

Why does hitting enter in Visual Editor add <p> instead of <br>?

Why does hitting the enter key in Visual Editor add <p> instead of <br>? What I want sometimes is a new line that starts immediately after the previous line. Unfortunately, the visual ...
0
votes
1answer
349 views

Right align a youtube video

I'm trying to right align (class="alignright") a YouTube video AND allow my client to edit the surrounding text in the future using the visual editor. I simply added class="alignright" to the tag ...
0
votes
1answer
140 views

Keyboard shortcut for headings on safari

When I use wordpress on PC, I can simply press ctrl+1 for Heading1 and ctrl+2 for heading 2... But when I use my mac it doesn't work. What are the shortcuts for heading styles on safari?
1
vote
1answer
454 views

Remove inline styles from the_content?

Is there a way to remove any inline styles made by the WP Editor i.e. Font Size?
1
vote
2answers
962 views

Placing <div> tags on wordpress visual editor using shortcodes

Hello I need to have the following code on a specific page: <div class="searchbar" > <div class="searchbar-inner" > search <input type="text" id="search" ...
0
votes
1answer
529 views

Getting selected (highlighted) html from the Visual Editor on Edit Post page?

So I understand that the visual editor uses something called TinyMCE. How do I retrieve the html that the user selects from the visual editor? I am basically trying to create a button that gets the ...
0
votes
2answers
220 views

Custom styles.css sheet for visual editor

I am trying to use my own styles.css for inside the body of the visual editor for my pages. However, when i add add_editor_style('styles.css'); to the functions.php page it doesnt change anything ...
0
votes
1answer
231 views

Best Browser for Editing Posts

What browser is best supported by Wordpress.org for editing posts in the visual editor (which I guess is TinyMCE)? I use Google Chrome and have run into issues which are specific to just this ...
0
votes
1answer
689 views

Preventing tinyMCE from auto formatting selected blocks of content

Is there a way to prevent tinyMCE from auto formatting the content inside selected blocks? Something like <!--dont-alter--> variable range of content, text, < , ], images etc., that will not ...
1
vote
4answers
408 views

Remove whitespace at the end of posts?

My writer has a tendency to add extra newlines (Enter key) and spaces (space bar) at the ends of posts. Sometimes this results in inches of extra whitespace onscreen! Is there a way I can make sure ...
3
votes
2answers
2k views

How do you change the visual editor's background color?

I have a Wordpress site in which the background color is black and the text is white. The site is fine, but it's a pain trying to edit content in the visual editor as the background is white (same ...
0
votes
1answer
557 views

How to hide wordpress default description box?

I'm using custom fields in my wordpress default post area. So i don't want wordpress default description box. I mean i dont want this field. Instead of description box i want excerpt box there. ...
1
vote
1answer
826 views

TinyMCE in Custom Metabox not loaded after upgrading from WP 3.1.4 to WP 3.2

I want something very simple: a custom metabox with a TinyMCE editor in it. The following code help me achieve that easily in 3.1.4: add_action( 'add_meta_boxes', 'add_metaname_box'); function ...
0
votes
3answers
1k views

Wordpress “Page not found error” when I edit a page

On a Wordpress based website, when I add text using wordpress visual editor or HTML source to a particular page - it gives "page not found error". I tried by adding some other text and its working ...
1
vote
1answer
651 views

Why does the HTML editor not wrap my code in paragraph tags when I press enter

Normally when using a rich text editor, when you hit return (i.e. do a full paragraph return) Your text is wrapped i.e. <p> my text </p> however this does not happen in wordpress. Is ...
-2
votes
1answer
290 views

wp_insert_post() dont post content like i need it :(

my wordpress instalation have a plugin that "probably" use wp_insert_post() to send content to database. works great. but sometime when i edit the POST with the tinyMCE editor, the editor do the ...
3
votes
1answer
174 views

Any good desktop client for wordpress with support for google syntax highliter?

I'm using Google Syntax Highlighter for WordPress and I have to go to the html view where I have to manually type the tags for pasting code and formatting gets messed up when I switch back to the ...
1
vote
1answer
576 views

Dynamically add CSS to the visual editor

I created an options page for my theme, where I can manually edit the CSS. Lets say I change the CSS in the options page for the <H1> tag, so it will now change it on the front-end. What I want ...
1
vote
1answer
618 views

Limiting allowed html elements/strip harmful scripts from editor

How can I limit html elements allowed in the tinymce editor in Wordpress 3.1 and ensure harmful scripts have been removed (script/embed tags, etc)
0
votes
1answer
1k views

Restrict file uploads by extension?

Is there a way in WordPress 3.1 to restrict allowed file uploads by extension (images only) and file size? Bonus question: Can I limit users to only be able view files they have uploaded themselves?
1
vote
1answer
833 views

Adding TinyMCE buttons without removing plugin buttons?

I'm developing a plugin that I'll install for all my clients to make WordPress slightly easier to use for them. One of the things it will change is the default TinyMCE configuration. It'll add things ...