The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
1k 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( ...
1
vote
2answers
2k views

Switching From HTML to Visual Editor and Back Completely Strips Page Contents

I have a page (not a blog post) I need to embed an iframe on (it's to "integrate" an external service's product catalog). I added the iframe code in the raw HTML editor and saved the page. I viewed ...
1
vote
1answer
484 views

Add table button in editor without Plugin

i want to add the "tablecontrol" ty the editor. This is what I've tried: function my_mce_buttons_1($buttons) { $buttons[] = 'superscript'; $buttons[] = 'subscript'; $buttons[] = ...
1
vote
1answer
101 views

Can't load a class into WordPress post editor's content field

Following to THIS WordPress QUESTION we tried some tweaks and got some nice solutions, hope we can public them after some good active codes-snippets. According to our procedures, we correctly ...
1
vote
1answer
237 views

Editor background colour in full screen

In this Q&A, How do you change the visual editor's background color?, it is shown how to modify WordPress' editor background colour. My question is how can I modify the editor's background ...
1
vote
1answer
1k 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
622 views

How to have custom tinyMCE buttons break onto next line when too long

There is probably a really simple solution that I am missing here but I have added multiple custom buttons to the tinyMCE editor in Wordpress and my problem is the row of buttons is too long (they're ...
1
vote
1answer
120 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
728 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)
1
vote
2answers
539 views

How to add a strip of visual editor on top of comments textarea

My blog is WP3.1.2, theme: Twenty Ten I would like to add a strip of visual editor on top of the comments box (something like you see at the top of question box on this site). How can I do it WITHOUT ...
1
vote
2answers
1k views

Visual Editor Templates

Hi there is anyway to style the visual editor in WordPress. For example if the user selects the page template shop say it loads into the visual editor a preset template which divs and formatted text. ...
1
vote
1answer
30 views

Can't change the width of content in the visual editor

I'm using a child of Twentyfourteen on this site (although I'm not sure that the theme being used is relevant in this case). The content of the visual editor is being set by this style rule: html ...
1
vote
1answer
95 views

Custom TinyMCE style formats disabled

I've created a TinyMCE style dropdown for the TinyMCE WordPress editor. The formats are appearing as expected on the editor but when the drop down is expanded to choose from a style, they are showing ...
1
vote
1answer
156 views

How to enable visual editor when editing comments on the dashboard?

For editing a comment in admin pages the editor is only html, can we modify the edit comment page with a filter to include visual editor too?
1
vote
1answer
28 views

How can I determine what mode the editor is in and when it changes?

I need to determine if the page/post editor is in Visual or Text mode. I also need to determine when this changes. Does WordPress provide some kind of functionality for doing this? I am writing some ...
1
vote
1answer
114 views

Adding html format on tinymce visual editor

Need to add more html format tag to TinyMCE Editor as visualized below Using Wordpress 3.6.1 Can't found any good example/guide for these modification. Another solution welcome. Thanks & ...
1
vote
1answer
63 views

Customize Editor Styles

I know there are plugins that do this, but since my needs are so small, I'm hoping there's another solution... I want to edit the <hr /> style in the WordPress editor to have clear: both;. Is ...
1
vote
1answer
280 views

JavaScript && operator in visual editor

I am used to of adding javascript/jquery code in posts via visual editor but it seems I never used && operator cause wordpress is altering && operator in &. Here is a link where I ...
1
vote
1answer
141 views

Disable pasting of images into wordpress editor

I have a user who loves to do this, It works fine for the website, but when it gets transferred over to the newsletter it breaks the newsletter. Is it possible to disable pasting of images into the ...
1
vote
1answer
10k 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 ...
1
vote
1answer
97 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 ...
1
vote
1answer
562 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
1answer
842 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 ...
1
vote
1answer
976 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 ...
1
vote
1answer
635 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
942 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 ...
1
vote
4answers
205 views

WP as an HTML editor

Is WP a good HTML editor? A friend of mine wants to create HTML pages, but doesn't know HTML. Can WP become a WYSIWIG HTML editor via the appropriate plugin? He'll be formatting images, wanting ...
1
vote
1answer
539 views

WMP Plugin not showing up in the plugin panel?

I just downloaded the WMD Editor plugin. For some reason is not showing up in the Plugins menu. the folder is called wmd-editor/ wmd-editor.php: <?php /* Plugin Name: WMD Editor Plugin URI: ...
1
vote
0answers
28 views

How to pass “get_the_terms_list” as shortcode to Visual Composer Grid Builder

I am trying to create a shortcode that returns the term list inside of Visual Composer's Grid Builder. I have read the docs here. My code is as follows: add_filter( 'vc_grid_item_shortcodes', ...
1
vote
0answers
25 views

How would you check if changes were made on a post or page?

I have an post editor and a post viewer (the browser) that are running at the same time. I would like to show changes almost immediately in the browser when the post has been updated on the server ...
1
vote
0answers
12 views

Is there a way to make the View > Show Blocks a standard option in the Post Editor?

Every time my client must enable this option. Can I modify the WordPress code to make it a default option ?
1
vote
0answers
27 views

How to remove &nbsp; from hr in wordpress visual editor

Hi in wp visual editor whenever I add the hr from the inbuilt visual editor button it also adds &nbsp; which is kind a annoying as I have delete it every time manually. Does anyone know any way so ...
1
vote
0answers
164 views

How to change visual composer's WYSIWYG background color? [closed]

So I have some sections where the background is black, and text is white on the frontend. Its a common problem where users will have to edit the white text in white background in the backend. While ...
1
vote
1answer
118 views

Visual Editor is blank - 404 for plugin js

My client's visual editor is not working. I'm seeing a ton of JS errors in the console. All 404 errors for plugin files related to tiny_mce. Here's a couple: ...
1
vote
0answers
81 views

Apostrophe in a possessive appears as an open-single-smart-quote instead of a closed one

Copy & paste the following in the html post editor: <em>John</em>'s Then click preview button and see the results. It will be: John‘s This is grammatically incorrect. It ...
1
vote
0answers
67 views

Change syntax styling of TinyMCE HTML Text Editor

So I have customized the CSS display for the TinyMCE 'Visual Editor' by using this here: /* Add Theme CSS to WP Content Editor -------------------------------------------------- */ function ...
1
vote
0answers
27 views

Automatically adds check on hide title and add paragraph when adding text

It most certainty wasn't like that before. I don't know what happened but now when I try to add an enhaced text, everytime when I update the page, the boxes of hide title, add automatically paragraphs ...
1
vote
0answers
20 views

In context click and edit: is it feasible?

I would like the following feature, and I'm willing to put my hands on it, but I'd like that developers more in touch with WP codebase give me some feedback. I want to have some sort of in-context ...
1
vote
0answers
51 views

Visual editor become blank after updating an article

I'm using WordPress 4.0 on an IIS installation. Everything is working fine, execept for one thing. My editor wrote an article and saved it. When page refreshed the visual editor become blank, without ...
1
vote
1answer
369 views

How to add wp visual editor in a custom widget?

I am developing a widget plugin and want to add a textarea with WYSIWYG editor in widget settings. Any help would be highly appreciated. Thanks.
1
vote
0answers
176 views

How to make a customized “Create Gallery” tab in the 'Add Media' window?

I'm developing a plug-in and wanting to make a customized version of the the "Create Gallery" tab of WP v4.0, but have the resulting output (i.e. what gets inserted into the TinyMCE editor) to be ...
1
vote
0answers
755 views

How to make Wordpress and TinyMCE accept <a> tags wrapping block-level elements as allowed in HTML5?

Starting with version 5 the HTML standard allows <a> tags wrap block-level elements. On a specific page I need to wrap a heading and an image with an <a> tag: Some intro text. ...
1
vote
1answer
191 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 ...
1
vote
0answers
48 views

Visual editor not working after update

After update wordpress visual editor are blank. I tried disabling all plugins, changing theme to 2014, and cleaning cache in server and pc. (not working)
1
vote
0answers
178 views

Is it possible to make *.js and folders visible in theme-editor

I just created a file test.js in the folder of my own child-theme. Unfortunately it is not visible in the Theme editor. How can I make it visible? And is it possible to make folders visible?
1
vote
1answer
467 views

ASCII to Unicode conversion and then save the data into database using WP post editor field

Here is the WordPress default post editor as we know: You may notice, here are some garbage texts in the Title and Description field. They are ASCII texts. PLOT In Bangla, a widespread software ...
1
vote
1answer
150 views

Hide content editor for posts after approriate date

I am tuning my new site and i what to disable Content Editor for post created after date X, but for posts that created before that date Content Editor must be on its place.
1
vote
0answers
82 views

Getting Theme element into plugins page editor in wp admin

I'm having a hardtime integrating a theme editing element (in default page/post editor in wp-admin) into page/post editor made by the plugin BU Versions. Basicly I need this theme element to ...
1
vote
1answer
812 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 ...