The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
417 views

Add button in TinyMCE editor to insert text

I'm searching a way to add a custom button to the TinyMCE editor when clicked insert into the visual editor some text. For example: button called "Hi" when clicked insert into the editor "Hello I'm ...
0
votes
0answers
20 views

Wordpress editor problem [closed]

Hi i migrate my test site db to new site using migrate db plugin .Now everything work perfect rather than some pages content not show in editor. But it show in front end and it is in the db also. ...
0
votes
1answer
516 views

How avoid WP editor to change <br/> by &nbsp;

Ok this is an old question and i may receive classical answers : use soft key I can't, i also use JIG and it makes the soft key invalid when i use it to make the text slightly downard to feet with ...
0
votes
0answers
8 views

Subdomain to Root Domain VC issue

I moved my wordpress from blog.mywebsite.com to mywebsite.com by copying the index.php and .htaccess as instructed here https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. Seems to work ...
0
votes
1answer
27 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 ...
0
votes
1answer
392 views

Change padding to text indent in “Increase indent” TinyMCE

If you click "Increase indent" in the visual editor it adds the following code into the text editor: <p style="padding-left:30px;"> How to change it to text-indent: 30px; not affecting the ...
0
votes
1answer
33 views

Visual composer causing conflict with TinyMCE [closed]

My Tinymce is not showing up by default. All out of the sudden, without any new plugin installation or what so ever, VC plugin started to force my text editor (when creating a new entry) to switch ...
1
vote
0answers
63 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
30 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 ...
2
votes
3answers
6k views

Hide page visual editor if certain template is selected?

How do I hide the page editor (WYSIWYG editor) if the current page is set to a certain template. I have the following code already to add in custom meta boxes when certain templates are chosen: ...
0
votes
1answer
20 views

How do I get access to the CSS Editor

I have a blog which is hosted by an ecommerce company who also host my website and online store. Because of this, they uploaded the theme I requested - Penscratch. I couldn't do it myself. I now want ...
0
votes
0answers
43 views

Editor Styles Not Working

I am trying to re-style the TinyMCE editor here: http://dannymcgee.net/duskguard/forums/forum/general-discussion/ I've tried both of these in my functions.php: add_editor_style(); or ...
1
vote
0answers
19 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 ...
0
votes
1answer
25 views

RTE always on text mode by default

I have installed a theme with visual composer on my wordpress and everything was working fine until I added a widget above the header. From that moment on, every time I want to create a new entry the ...
8
votes
1answer
363 views

How to get back distraction-free mode we had before WP 4.1?

One of the features of WP 4.1 was the introduction of new distraction-free mode. This is a personal opinion, but I think it's awful, in fact, compared with the pre 4.1 mode: it performs a lot worse ...
0
votes
1answer
91 views

Add Item to Custom TinyMCE Menu

I've created a custom menu which appears on my TinyMCE toolbar but would like to add another item to that menu in a separate function elsewhere in my plugin (depending on whether some other ...
0
votes
0answers
14 views

Switching between Text / Visual Editor makes alt text disappear

I am working on a Wordpress site and the images have lightboxes that has this coding in the <a> tag: <a href="#" class="someclass" alt="somealt"><img src="someimg.jpg"></a> ...
0
votes
0answers
16 views

Wordpress editor filters out my data from $_POST

I am currently working on a translation plugin in Wordpress. I added a navigation bar on top of the editor like this: add_action('edit_form_top', array($this, 'add_tabs')); In that function, I add ...
1
vote
1answer
908 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 ...
0
votes
1answer
20 views

Extending the “Add Media”-Dialog … how do I finally insert something to the Post?

I'm developing a plugin, which extends the "add media"-Button in the Post-Editor. I found an example (I think it was nextGen Galley maybe) where wp_iframe is used in the add media dialog. For some ...
0
votes
1answer
98 views

Visual composer not showing edit tools

The visual composer is not showing the editing tools. I have disabled all plugins and also check the user profile and enabled visual composer while writing. Screen shot of how my edit page look.
0
votes
0answers
19 views

Target a specific page_id in editor_style

I have a specific page in which I want to slightly change the title styles. It's easy enough doing so in style.css, using the body_class of .page-id-6, but how do I do so in editor_style? It seems ...
0
votes
0answers
9 views

Can't edit in visual editor when coyping over content from another page

This is a really weird issue that I've run into recently: I add a new post/page, and copy over content (text, images, and video) from another page. As soon as I do that, I'm no longer able to edit ...
1
vote
1answer
74 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[] = ...
0
votes
1answer
46 views

How to make shortcode which returns HTML?

I need to make a shortcode button to TinyMCE editor which, in the moment i click it fills up the content part with HTML. When i click on button i need something like: <div> ... </div> ...
3
votes
2answers
2k 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
43 views

Plugin Error on activating

I'm building theme. but for custom post type, custom taxonomies and shortodes . I created the simple plugin. just plugin info and then functions to create CPT CT and shortcode. here is the example: ...
0
votes
1answer
368 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
47 views

Add links to post categories and taxonomies in wysiwyg link modal?

I want to link to post categories and taxonomies in the text editor. With the "add link" modal I only can add links to existing posts, pages and custom post types but not to their categories and ...
0
votes
1answer
2k 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?
0
votes
0answers
36 views

Unable to create hyperlink after Wordpress updated

I am recently facing an important issue. This issue happened after an updates completed. The issue i facing is, the visual editor was not responding when i creating links with the Insert/Edit Link ...
2
votes
2answers
520 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 ...
1
vote
1answer
478 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 ...
0
votes
0answers
17 views

Is automatically passing a class from an element to another element a bug in the text editor, or a default behaviour?

When I press "enter" in the visual tab, I get the usual empty lines... until I change to the html tab and notice it created a repetition or clone of the element that was in the line where I gave ...
0
votes
1answer
81 views

How to type shortcode-like text in WordPress TinyMCE visual editor?

Suppose, I have a plugin which is offering a shortcode for its users: [my-shortcode]. Now I want to post an advertisement in a page of my WordPress powered blog like the following: Hey you can use ...
0
votes
2answers
91 views

&nbsp when I use ENTER for skipping line

I don't know why when I'm using "Enter", that add &nbsp; in Pages/Posts Editor. That doesn't matter, but on my website, when I look the code &nbsp; makes this code : <p> � </p> ...
0
votes
1answer
96 views

How do I add multiple buttons to Tiny MCE in a single plugin?

I'm using a custom plugin to add custom buttons to my visual editor. Right now, I've followed this tutorial and added a "code" button, but I'd also like to add a "cite" button that wraps the selected ...
11
votes
3answers
12k views

Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1

How is it possible to add a custom button to the visual editor TinyMCE, Version 4? Currently I found this q&a with a little bit hints to the topic, but not a solution or a how to. But I can't ...
3
votes
1answer
279 views

How can I insert HTML attributes with an existing TinyMCE button?

When I insert an image into the post editor, select it and click the "align left" button, it automatically adds the alignleft CSS class to the image, like so : <img src = ...
0
votes
0answers
106 views

Set tinyMCE content filter to execute before other filters

I am looking for a JavaScript way of filtering the content when switching between the visual editor and the text editor. The filter is used to allow users to write code on both the visual and the html ...
0
votes
1answer
109 views

How to show the contants in front end same as visual editor with space / linebreak?

My visual editor looks like this: My text editor looks like this: But my front end looks like this: I know that the wordpress automatically removes linebreaks. So I installed tineMCE advace ...
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 ...
3
votes
2answers
706 views

How to disable TinyMCE 4 keyboard shortcuts

I want to disable all TinyMCE 4 keyboard shortcuts. I have looked around for a workable solution but only realised how poor the TinyMCE documentation is.  I did find one answer here but either I do ...
0
votes
0answers
79 views

Embedding code snippets in posts with indentation

I have a privately hosted blog using WordPress, and I am using the SyntaxHighlighter Evolved plugin for displaying highlighted code snippets nicely. I use the built-in editor in WordPress for writing ...
0
votes
2answers
250 views

Visual Editor not working when Jetpack plugin is active

After installing the Jetpack plugin, the visual editor stopped working. The Visual tab is still there but the editor area is empty and the toolbar is missing. I have deactivated all other plugins ...
1
vote
1answer
412 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 ...
0
votes
0answers
351 views

Wordpress add menu to page content using editor

I can manage custom menus in Appearance -> Menus Then, I can add any of these custom menus to the page content by inserting a shortcode like this in the editor: [menu name="Menu1"] Question: How ...
4
votes
2answers
3k 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 ...
1
vote
0answers
49 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 ...
0
votes
0answers
90 views

style tags dl dt dd not showing in posts on server

Whenever I align an image for example, the editor wraps the image in a div with class aligncenter. But when I view the post/page on the server the div is stripped out. How can I prevent this? And ...