The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
592 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
995 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
677 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
504 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
49 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
26 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
100 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
60 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
241 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
106 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
9k 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
94 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
517 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
839 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
824 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
613 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
901 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
535 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
52 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
19 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
18 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
15 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
46 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
0answers
125 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
1answer
137 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
44 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
106 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
404 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
138 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
75 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
761 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 ...
1
vote
0answers
292 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 ...
1
vote
1answer
406 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 ...
1
vote
0answers
130 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 ...
1
vote
2answers
1k 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" ...
1
vote
1answer
449 views

Visual Editor gone

My visual editor is missing in a project I've tried this guide which includes deactivating ALL plugins, changing the theme, empting the cache and still at that point there was no Visual Editor, only ...
1
vote
3answers
635 views

customize tiny MCE blockqute

Hi we all know by default tiny MCE's blockquote generates this <blockquote> content here </blockquote> I am styling this via CSS : the css im using : blockquote { border: none; ...
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 ...
0
votes
1answer
398 views

Define add_editor_style to specific post types?

I am wondering is it posible to define add_editor_style to specific post types? Currently I am using this function.. // EDITOR STYLE add_editor_style('editor-style.css'); But I would like have ...
0
votes
1answer
71 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 ...
0
votes
2answers
59 views

Want the visual style in wordpress

In my WordPress installation when I want to post something there are only html style to write. I see in video tutorial that a WYSIWYG editor should appear on the screen so I can write easily as I ...
0
votes
2answers
224 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
270 views

Close TinyMCE plugin window on click away

I've created a small plugin which adds a button to the TinyMCE toolbar. When clicked, it opens a popup window via editor.windowManager.open(). That popup can be closed by (1) clicking the "Cancel" or ...
0
votes
1answer
648 views

Keyup events in tinymce editor not working

I am trying to develop a plugin, that shows on the page/post edit page. What I need to do, is detect when the content area changes. Either in visual mode, or text more. I would like to use a keyup ...
0
votes
1answer
995 views

Add custom text color WordPress 3.9 TinyMCE 4 Visual editor

I had a code snippet which would help me to add some custom color to the visual editor text color dropdown along with the default colors. I'm pasting the snippet below. function change_mce_options( ...
0
votes
2answers
66 views

How to get post body look same as my visual editor?

When I apply the format and styles such as bold and <br/> on visual editor it looks bit nicer. But when I see that on blog post it looks totally different. I do not use any styles for p tag in ...
0
votes
1answer
341 views

jQuery does not work on WordPress editor

I've added some content to WP's editor, however the new content does not respond to the click behaviour. Here's how I've added the content: add_filter( 'default_content', 'custom_editor_content' ); ...