2022 Developer Survey is open! Take survey.

Questions tagged [visual-editor]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Equation input with preview in classic editor

I use WordPress as a headless CMS, and my frontend is made with React. There's no theme or live preview. I'm looking for a plugin to add/edit and preview equations (LaTeX) in the classic editor. This ...
user avatar
  • 123
0 votes
0 answers
10 views

How to Analyze Blocks and find Intersection and patterns between pages

What is the best way to analyze existing site fully built on Gutenberg Blocks and inspect intersection of existing blocks structure and it’s inner blocks combination for all pages? Context: Imagine ...
user avatar
0 votes
0 answers
22 views

TinyMCE strips off the href tag inside span, if i change from text to visual

As mentioned in the title, the TinyMCE editor of WordPress cuts off the href tag that I have inside the span tag. Below is the code i use <h5> <a href="#" target="_blank&...
user avatar
  • 11
0 votes
1 answer
27 views

Adding a Media Button to the WordPress Content Editor

So i'm trying to add a button over the text editor which on pressed lets the user paste in a youtube link which is then covered in shortcode something like this [code]youtube.com[/code]. Following ...
user avatar
  • 13
0 votes
1 answer
116 views

How do I access the contents of Wordpress Classic editor in admin area with JavaScript?

I am working on a small Wordpress plugin which uses JavaScript to add html tags with a css class to the visual text view in the Wordpress editor. I use the Classic Editor. According to Chrome ...
user avatar
0 votes
0 answers
38 views

✓ Checkmark Character Encoding Issue In WordPress Editor

While writing a new blog post on my WordPress blog, I noticed that it is converting '✓' (checkmark) to '?' (question mark). I am using the classic editor (not the block one). I tried to enter the ✓ ...
user avatar
0 votes
0 answers
7 views

Switching on edit

Whenever I edit my site a edit toolbar appears at top making it easy to go to the page in WordPress but currently I can't find the edit toolbar. Any help on how to find or switch on the toolbar?
user avatar
0 votes
0 answers
7 views

clasic editor - article categories customization?

I notice when editing an article (using classic editor), the article categories puts the checkbox and check for the articles category at the top of the list. Is there a way I can configure it to keep ...
user avatar
0 votes
1 answer
68 views

Visual and Text tabs missing from Editor

I have two WordPress servers installed with an identical server and WordPress configurations (same WordPress version, same PHP version, same plugins and same theme). The point is that the Visual and ...
user avatar
  • 1
0 votes
0 answers
41 views

How can I add a stylesheet to the Classic Editor page?

I want to make some style changes to the Classic Editor page itself -- not the place where you write the text of the post, but the main part of the page (such as the Categories block -- maybe I want ...
user avatar
0 votes
0 answers
19 views

Can I present different TinyMCE toolbars to users with different roles?

I'd like to be able to offer different TinyMCE editor toolbars to different users, based on their roles, much like Drupal does. For instance, admins might have a large number of tools to click on, ...
user avatar
0 votes
1 answer
61 views

Use rich text editor in 'Edit Media', for attachment media description

I have the following in my functions.php: add_filter( 'wp_editor_settings', function( $settings ){ if( get_post_type() == 'attachment'){ $settings = [ 'wpautop' => true, '...
user avatar
  • 133
0 votes
0 answers
34 views

Visual Composer creating own shortcode with vc_map() with image and replacing vc icon with selcted image in backend

I have created a VC shortcode with via vc_map() with the possibility to select an image to be shown in frontend. This is no problem. But I would also like to show the selected image to the editor in ...
user avatar
  • 41
1 vote
0 answers
27 views

How to Add Custom Button to Text(HTML) Editor and NOT Visual Editor

I followed this tutorial which is adding a custom button into Visual Editor as it is supposed to. But this is not adding the button into the Text(HTML) Editor. Can you please let me know how I can ...
user avatar
  • 483
0 votes
0 answers
38 views

Stop removing whitespace when I hit "Update"?

I want to store my posts in plaintext markdown instead of HTML. I have started by following Store post in raw markdown format, no html?, and as a result I do get what seems like a plain text box as my ...
user avatar
  • 342
2 votes
1 answer
147 views

Visual Editor Background

I have a WordPress site in which the background colour is black and the text is white. The site is fine, but it's a real pain trying to edit content in the visual editor as the background is white and ...
user avatar
0 votes
1 answer
265 views

Automatically replace &nbsp with space

In my WooCommerce online store, I frequently copy and paste product description from the OEM webpage. This works well for the most part, however depending on the site, the spaces are sometimes encoded ...
user avatar
  • 103
2 votes
1 answer
140 views

Adding image to visual editor popup for shortcode with wp.media and wp.mce: changing image duplicates shortcode

tl;dr: Why does using media manager popup within a TinyMCE popup cause duplications of shortcodes? Is it my code or just the way life is? [Spoiler: It was my code] I've written a small plugin to ...
user avatar
0 votes
0 answers
123 views

Square brackets at the end of a line cause <br> line break to be skipped

Note: Titles are similar but this is a different issue than Square brackets make WordPress ignore newline/paragraph I'm using the classic editor in the latest version of WordPress. To have the visual ...
user avatar
0 votes
0 answers
75 views

How to make conditional statement in WpBakery (formarly Visual Composer)

I am building a new membership website with WordPress using WpBakery (formally visual composer). I created a heading text which I linked to my login page, everything works fine but the problem is that ...
user avatar
  • 1
0 votes
1 answer
43 views

How to sync the style in the visual editor with the style of a child theme?

I have a wordpress site with twenty-twenty theme sightly modified with a child theme. The site's publically accessible surface is displayed correctly according to the modifications declared in the ...
user avatar
  • 217
1 vote
2 answers
283 views

Tiny MCE-modifications (plugins) stopped working in WordPress 5.6

A while back I stumbled across this post from 2015, that showed how to add Tiny MCE-buttons. It has been working for more than a year. But after the latest WordPress update (to version 5.6) it stopped ...
user avatar
  • 598
1 vote
1 answer
52 views

Why do I keep losing links when I switch to visual editor in Wordpress

I have this problem in a specific page of my wordpress website: when I switch from text editor to visual editor I immediately lose all my links (placed in a div element). I give you a detailed example ...
user avatar
0 votes
2 answers
82 views

Why is wordpress suddenly stripping away all newline characters and how to disable this?

I've spent about 3 hours trying out various functions to figure out why the newline characters are being removed every time I save. How do I figure out why is wordpress suddenly stripping away newline ...
user avatar
  • 135
1 vote
1 answer
1k views

Adding custom styles to dropdown in editor

is it possible to add a custom style to the dropdown in the classic WordPress editor, say a div with the class of "fancywords"?
user avatar
  • 57
0 votes
0 answers
136 views

Block editor: content resets to the previous state in "Edit as HTML" by clicking somewhere outside of the editing window

When I'm adding my custom block and then trying to edit it in "Edit as HTML" mode, any changes reset to the previous state every time when I click outside the editing window. Let say default HTML in ...
user avatar
0 votes
1 answer
258 views

Insert wrap span tag around contents of a link tag automatically

I've searched around a good bit last night and today and haven't been able to find just what I'm looking for here. Basically I'm trying to automate this process: When I click the link button inside ...
user avatar
0 votes
1 answer
776 views

How to allow code like PHP, SQL, HTML to WPBakery Visual Composer?

I want to allow code inside a textarea to write code with PHP, SQL or HTML... What i want to do is create an element inside the Visual Composer where I can put some code to show it as i write it on ...
user avatar
0 votes
1 answer
192 views

how can default_content filter tell if content will load in block editor or classic editor?

In short, I want to use the default_content filter to return slightly different content depending on if it will be used in the block editor or not (eg. the quicktags or tinymce editor) - is there any ...
user avatar
0 votes
0 answers
201 views

wp_editor in custom post type is not saving formatted text like bold, italic etc

My custom post type has 5 custom meta boxes which use wp_editor. Visually I can format the content but when saved, all the formatting is gone. For example I made a portion of my content bold, but ...
user avatar
1 vote
1 answer
203 views

TinyMCE Visual Blocks plugin set Show blocks option for all users

I want the Show blocks feature of the TinyMCE Visual Blocks Plugin to be activated for all users. I can activate the Show blocks feature under the View menu dropdown manually. See picture. This ...
user avatar
  • 123
0 votes
2 answers
2k views

Icons are missing from Visual Editor

The Problem I've been grappling with this bug over several days now to no luck. When editing either a post or a page, all icons in the Visual Editor are missing: As you can see this, includes the ...
user avatar
1 vote
0 answers
140 views

Visual editor keeps stripping my <a> tags

My first post, please forgive me if I'm doing it wrong. For some reason when switching to the visual editor WordPress will strip out my a tags. "Don't use the visual editor" isn't an option, I'm ...
user avatar
0 votes
1 answer
232 views

How to hide the Text Color icon from Visual Editor of WordPress Post Editor from Users other than Admins?

Want to hide the Text Color icon from Visual Editor of WordPress Post Editor from Users other than Admins. How to do it?
user avatar
  • 3
1 vote
1 answer
3k views

Convert this textarea to rich html format via wp_editor

I have a texarea in a page that works like a charm, but I would like to convert the area to a html rich wp_editor. Could anyone tell me how to convert this textarea to a wp_editor field?? Thanks <...
user avatar
  • 11
0 votes
0 answers
25 views

Modifing an existing Custom Post Type doesn't work?

I have to update an existing CPT which needs to support editor it was $args = array( 'label' => __( 'annual reports', 'ledexpo2018' ), 'description' => ...
user avatar
  • 1,094
0 votes
1 answer
380 views

VisualComposer/WPBakery Page Editor: Is any JS event triggered after the Edition pop-in is shown?

In the back-office, when we create a page, we can add sections and rows in which we can create elements. These elements are for example text boxes, images, buttons, and other Visual Composer mappings ...
user avatar
0 votes
1 answer
96 views

How do I prevent Wordpress from eating my code?

I'm writing a guide and putting code examples. If I use the visual editor the code indentation is lost. It will also take some code and strip it out. If I use the text editor I can't ever switch to ...
user avatar
0 votes
3 answers
1k views

How to adjust text’s width and put it at center of post (Visual) editor?

[Disclaimer: I'm not a developer of any sort, but willing to take the time. (Can do a bit of CSS, though.) Also, new to this forum.] I’m using Anders Norén’s Hemingway theme. I haven’t tried ...
user avatar
0 votes
0 answers
19 views

Hide default values on VC editor

When I created custom fields on WPBakery (formerly Visual Composer) I have the option 'admin_label' and by default is false but the values always printing on editor. How to hide the default values ...
user avatar
2 votes
2 answers
2k views

How to remove these comments and html tags from the content?

These are actually input fields. paragraph is the textarea field. i query the contents from database and try to show them in this textarea field. But the textarea field is showing me unwanted comments ...
user avatar
-1 votes
1 answer
22 views

Is there a visual editor specifically for page snippets/sections?

I am building a Wordpress/Woocommerce site, and developing a plugin for it. In the plugin I am including some PHP html templates and hooking them into Wordpress in various ways. Is there a way to ...
user avatar
0 votes
1 answer
39 views

More HTML elements variety in visual editor

Our HTML based website uses a lot of formats for styling text / pages. We're now transitioning to Wordpress so the our employees can also create and edit pages, but it seems like the Wordpress editor ...
user avatar
0 votes
0 answers
65 views

Strange wp-admin problem for all users/adminstrators except the original one?

I don't get this but for all wp admin users except the original main user i get a strange error which causes the visual editor to fail: load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,...
user avatar
  • 1,094
3 votes
2 answers
3k views

Add Shortcode inline inside Gutenberg block

In the legacy (classic editor) it was possible to add buttons to the editor toolbar via tinymce API, that will add shortcode at cursor. seems like this is not supported anymore from the tinymce FQA ...
user avatar
  • 705
0 votes
1 answer
25 views

WordPress visual editor internal link default https

I have a WordPress site running on https. When I insert a link to another page using the Visual Editor it defaults to http. Can i change this somewhere? The closes thing i could find is this: In ...
user avatar
0 votes
0 answers
628 views

How can I change TinyMCE's default block format?

I have a particular post type where I want the editor's default format block to be H3. So, when you create a new empty post and begin typing in the editor, the text would automatically default to ...
user avatar
  • 1,301
0 votes
1 answer
842 views

Load WordPress Editor .css on Front End

This issues seems to have cropped up for me after a recent WordPress udpate (I'm on 4.9.9) as I haven't had issues before. I load wp_editor on the front end using the following code: $argswp = ...
user avatar
0 votes
1 answer
421 views

Why Is Content Entered In Classic Editor Not Displaying on Page?

I have a contact page on my website, where I've entered the shortcode for Contact Form 7 in the page editor: But the contact form isn't displaying on the front-end: Instead only the content from ...
user avatar
1 vote
1 answer
56 views

Strange glyphs code error

Recently I've noticed that just above the web page logo, strange glyphs appeared. What might be the cause? How to get rid of these.
user avatar
  • 13

1
2 3 4 5
7