The default visual editor in WordPress is Tiny MCE. There is an API that allows users to adapt the visual editor to their needs. It is possible to use other visual editors as well.

learn more… | top users | synonyms

1
vote
1answer
24 views

Is there a way to show only the text editor

I'm working on a desktop app and I'd like to show only the editor and it's toolbar. I'm able to load and save the past content easily enough through the app but I'd like to be able to reuse the ...
0
votes
0answers
11 views

WordPress edit.php page not fully loaded?

As seen in picture above the page isn't quite loading properly. I can add a new post, but it just doesn't load TinyMCE and some other WordPress features. The weird thing is, this actually does work ...
3
votes
3answers
5k views

how to fix a broken visual editor

Our visual editor is displaying raw HTML: If I click on Visual or Text, nothing happens at all - the click isn't registering. My profile does not have "disable visual editor" checked. The same ...
0
votes
1answer
1k views

How to use WP switchEditors.switchto(this) JS function in your own script?

I have a tab switching theme that lets the user choose 3 editing modes when adding new pages (HTML and Visual- these are WP defaults and the new Syntax mode using Code Mirror). I have issues when ...
0
votes
0answers
17 views

disable inline css

Is it possible to block the use of inline styles and on-page blocks of CSS in the editor? I don't want to block the use of SVGs and other clever stuff but I just want to prevent someone from adding ...
-1
votes
0answers
9 views

how to execute an SQL query in the visual editor [closed]

I would like to know there ability to run sql request in editor in admin wordpress when creating a post. thnaks
0
votes
2answers
729 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 &...
-2
votes
0answers
36 views

Remove fields from the Insert/edit image pop-up?

Is it possible to remove the fields from the Insert/edit image pop-up from the visual editor. I want to remove it as I'm using it on front end.
0
votes
0answers
7 views

Double-Up Visual Editor

While I am writing article, and suddenly update the article, my visual editor went to this look. I am not sure if this is a bug. Tried several help articles to fix the editor via disabling plugins, ...
0
votes
1answer
924 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 ...
9
votes
2answers
187 views

Add custom options to the wplink dialog

I managed to add a custom option-select for images with function attachment_field_credit( $form_fields, $post ) { $field_value = get_post_meta( $post->ID, 'first_image', true ); $...
15
votes
2answers
350 views

Remove inline linking tool

I'm not a big fan of the inline linking tool published with WP 4.5. Is there a way to disable it?
1
vote
1answer
440 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
votes
1answer
99 views

Visual Composer - not working after update [closed]

a site has being updated to Wordpress 2.5.2 . Since the update Visual Composer does not load, see screenshot below. I've updated the Theme and all the plugins, including Visual Composer to the ...
21
votes
1answer
356 views

Adding Custom Text Patterns in the WP 4.5 Visual Editor

4.5 is out and with it new Text Patterns. I would like to know how to go about adding my own custom patterns. Taking a look at wp-includes/js/tinymce/plugins/wptextpattern/plugin.js it seems pretty ...
1
vote
1answer
52 views

WordPress custom post - add dynamically meta boxes

I want build an custom editor for my custom post type in WordPress. I'm able to add multiple tinymce editor to the post type, but I want this dynamically. I'd like admin users to be able to create ...
-1
votes
2answers
1k 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
2answers
35 views

Shortcode templates

I don't know if this is the correct way to approach this, but here it goes. I'm working on Visual Composer (but could be vanilla WP), and I'm trying to implement a shortcode which generates another ...
0
votes
1answer
26 views

How to make elements not editable in visual editor

I have bootstrap grid in some pages, which I've made visibale in the editor by styling in editor styles. Is there a way to make the column div not removable in visual editor, kind of like how you can'...
0
votes
0answers
81 views

Special characters are showing as question mark

When I am writing a special character code or entity in the visual editor box it is shown as ? (Question mark on post). Kindly suggest What should I do?
0
votes
1answer
543 views

Working With Visual Composer VC_Single_Image

I am working on a wordpress site that has this short code, [vc_single_image image="7004" css_animation="right-to-left" border_color="grey" img_link_target="_self" img_size="300px"] I need to ...
1
vote
0answers
43 views

Edit page blank, control buttons missing

Lately I encountered a strange problem while editing posts and pages. I have a blank page with all controls missing (like publish etc.). I tried to deactivate all plugins. I tried to upgrade ...
2
votes
2answers
818 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
65 views

How to modify VisualComposer's TinyMCE editor only for a specific shortcode

I spent a lot of time looking for how to modify the buttons of a TinyMCE editor for a Visual Composer plugin that I'm developing. My requirement was to modify which buttons are shown, but only in the ...
1
vote
1answer
66 views

Is it possible to ignore the first Line Break in a preformatted Div from a shortcode?

I created a shortcode of [pncode] that lets me enclose some programming syntax and apply some styling. Notably, it preformats the text and makes it monospace (full CSS below, if it helps). In the ...
1
vote
1answer
186 views

How to display TinyMCE without wp_editor()

I'm trying to enable WordPress' tinyMCE editor for a front-end textarea, from a plugin's pro version. I temporarily solved the issue in a bogus way: In free version: wp_editor( $details_val, /...
1
vote
0answers
22 views

Add visual editor style only on widgets.php page

I'm attempting to add a visual editor style with the function add_editor_style('visual-editor.css');, but only on the widgets admin' page, and not on post editor screens. I'm using a visual editor ...
1
vote
1answer
202 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
2answers
35 views

Why is my theme is randomly stripping the <p> tags out

I haven't done anything to my clients site but add some more text to a testimonials page, updated it & then went to go see the page and it's been all smashed together! It's using randomly placed &...
1
vote
0answers
145 views

Visual Composer shortcode for child theme dir

I have a site using VC that is running on localhost and also on a staging environment. I need to access the child theme directory to call images from within raw-html sections of visual composer ...
1
vote
3answers
2k views

How to remove permalink from images when inserting into post?

In previous versions of WP, we were able to remove permalink from images while we were inserting images into post. But now there is no obvious option to do so. How can it be achieved?
1
vote
3answers
294 views

Enabling Visual Composer on custom post types

I'm using Visual Composer that comes with a wordpress theme in an install with 2 custom post types created by me. I'm trying to set visual composer enabled as default with no succes. I use the code ...
1
vote
1answer
43 views

How to disable formatting

Everytime I copy something, Wordpress will format the content like it was in that text. For example if I copy a link from Wikipedia, Wordpress will format that word to be bold, blue and with underline....
2
votes
1answer
264 views

TinyMCE editor is breaking my beautiful HTML

This is pretty much an exact duplicate of: How to make Wordpress and TinyMCE accept <a> tags wrapping block-level elements as allowed in HTML5? and HTML5, WordPress and Tiny MCE issue - wrapping ...
1
vote
0answers
106 views

Visual/Text tabs in wp editor Not Showing

I have a wordpress website that i have added custom meta boxes to the post. Custom meta boxes have an editor using wp_editor(), but the editor is refusing to show the visual/text tabs on the editor ...
3
votes
1answer
101 views

Featured image shortcode

Each post currently requires the featured image to be duplicated within the post several times. Is there any way in which I could dynamically call the featured image back into the post rather than ...
1
vote
0answers
14 views

How to edit video positioning in wrapper in WP 4.1 Visual Editor

OK so I've added an image here from our front page. We're using the YTPlayer plugin to run the looped video in the background. As you can see from the photo, there's a part of a jpeg photo in the ...
1
vote
0answers
55 views

How can I register a custom “Text Pattern” (WP 4.3) for TinyMCE?

WP 4.3 added some really cool editor features: https://make.wordpress.org/core/2015/08/01/editor-enhancements-in-4-3-%E2%9C%A8/ The "Text Patterns" are really useful to create lists, quotes and ...
1
vote
0answers
44 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
19 views

wordpress 4.4 upgrade visual editor bullets select for not selected elements

Please check attachment for reference image and help me to fix it please.
1
vote
0answers
20 views

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

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

WordPress Editor not getting youtube video preview

When I am creating a post from the admin panel and using a youtube link in the Editor, the editor automatically fetching the video from youtube and displaying right away in the editor. But When i ...
1
vote
0answers
64 views

Hide/show content starting in the middle of a paragraph

I need to be able to hide/show arbitrary content (paragraphs, lists, maybe pictures) based on a user clicking a link. This is easy enough, but I am running into a lot of problems trying to add this in ...
0
votes
3answers
330 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
72 views

How to reset display of WYSIWYG editor

I recently installed WordPress on a new domain but I have a small problem. This WYSIWYG editor displays very small text with no padding. Here are some examples. Desired behavior: Actual behavior:...
1
vote
0answers
35 views

Adding a button to the attachment page

I have been trying to modify my theme to show an additional button on the attachment page. The reason for this is that I am using the standard wordpress gallery with a link to the attachment page. I ...
6
votes
5answers
14k views

Keep HTML format when switching from Visual to HTML editor

I've been looking around for a solution that will allow me to edit HTML code and have it remain after a switch to the Visual editor and back. I've tried a bunch of things with no luck: the wp-no-...
3
votes
1answer
47 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 ....