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

0
votes
0answers
15 views

Injecting bbcode back from popup to post Visual editor

I'm trying to make a Wordpress plugin that can generate media bbcode for wordpress. my popup2wp.php , this is adding a button to edit post media toolbar, that will open a popup window. <?php /* ...
0
votes
2answers
764 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 &...
14
votes
3answers
15k 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 ...
0
votes
2answers
32 views

Open Insert/edit link popup

I'm using visual editor on front end. When clicking the Add/insert link button, it displays following By clicking Link options icon, the following popup appears Is it possible to directly open ...
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 ...
-1
votes
0answers
18 views

Visual composer 5 columns layout [closed]

I am trying to use a 5 column layout using visual composer. I have clicked the custom tab and entered 1/12 + 2/12 + 2/12 + 2/12 + 2/12 + 2/12 + 1/12 and left the first and last column empty. But the ...
0
votes
0answers
77 views

jQuery keyup() on Visual editor

I need to trigger typing in Visual editor and to get current text from it. Is it possible? The next lines are not working: $("visual_editor_selector").keyup(function(){alert("Changed")}); $("...
0
votes
4answers
4k 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
0answers
16 views

How to have default custom colors in the WordPress TextColor Editor

I would like to have several custom colors loaded by default in the text-color tool from WordPress, this way would be easy to modify text with the branding colors. Is it possible? Is there WP a ...
-5
votes
0answers
23 views

How can i have a conditional element?

I don't quite understand how this isn't a very easy thing to work out - I assume it is because at some fundamental level I don't understand the "theory" behind wordpress. I have the visual composer, ...
0
votes
0answers
20 views

Replace/Provide alternative visual-editor

I have created a purely JavaScript based visual editor and been requested to make this into a WordPress plugin - however have little to no WordPress experience. I've looked through certain hooks and ...
0
votes
0answers
45 views

Iframe stripping html code

I'm not sure this is answered elsewhere, but all references I can find are about the WYSIWYG stripping Iframes when switching modes. This seems to have been fixed in a previous version of WP. I'm ...
1
vote
0answers
15 views

Enable Visual Editor In Comments On CPT Edit Page

I'm trying to adjust the comment form on a custom post type in the admin edit page only. The end result I'm looking for is: Allow switching between Visual and Text editor through the tabs on the top ...
1
vote
1answer
449 views

Format the Layout of Images In The Edit Post Textarea?

The textarea in which posts are written and edited doesn't handle image layout very well. Inserted images seem to be aligned with the left edge of the textarea, or the right edge of the previous ...
3
votes
3answers
1k views

How to customize the symbols that appear in the Visual Editor insert custom character

The TinyMCE Editor has a great button in the kitchen sink to insert custom characters / symbols. Is there a way to control what symbols show up in this pop-up? (Specifically I need some unique ...
1
vote
1answer
458 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
0answers
14 views

How to add post type archive link to pop-up box link?

There are any way or plugin to add post type archive link inside editor link pop-up box? I having all page, post and other custom post type, but I haven't archive link. Thank you!
1
vote
1answer
26 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
13 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 ...
1
vote
0answers
22 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 ...
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
958 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 ...
10
votes
2answers
206 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
384 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
votes
1answer
126 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 ...
22
votes
1answer
368 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
64 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
36 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
33 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
112 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
876 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
46 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
857 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
86 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
73 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
245 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
23 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
254 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
173 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
1answer
45 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
360 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
117 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
117 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
59 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
45 views

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

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.