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
1 answer
14 views

Bullet List Indentation not showing up in the wordpress

In wordpress, I have written on article and in that I have bullet list to showcase but my indentation is greyed out, and not able to indent the list further as you can see in the sreenshots. I want to ...
0 votes
1 answer
18 views

How can I reset/remove background colour from a block

So my block has background colour. Let's say it's a paragraph block. I want to remove the background colour completely, but can't find any way in Wordpress' Editor UI. The only way I found was to ...
0 votes
0 answers
22 views

Customizing the Post/Page Editor in Classic Editor

I am creating custom styles for a client. While I could train her on how to apply those styles by adding code in the Text view, it would be easier if I could just create a dropdown of the styles, or ...
0 votes
0 answers
15 views

How to translate widget titles in 2021 theme?

I am using the default wordpress theme 2021 and I want to translate all the user facing contents to a 2nd language. All has been OK other than the footer elements which are: Recent Comments Recent ...
1 vote
0 answers
22 views

Notion-like editing and layout with a convenient freeform collaborative editor in WordPress? [closed]

I spend a lot of time developing technical content that revolves around software and network engineering. I used to do some content creation and blogging on this topic as well as creating ...
0 votes
0 answers
51 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 ...
  • 133
0 votes
0 answers
12 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 ...
0 votes
0 answers
35 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&...
  • 11
0 votes
1 answer
133 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 ...
  • 15
0 votes
1 answer
199 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 ...
0 votes
0 answers
51 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 ✓ ...
0 votes
1 answer
156 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 ...
  • 1
0 votes
0 answers
46 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 ...
0 votes
1 answer
79 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, '...
  • 133
1 vote
0 answers
29 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 ...
  • 483
2 votes
1 answer
206 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 ...
0 votes
1 answer
408 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 ...
  • 103
2 votes
1 answer
161 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 ...
0 votes
0 answers
146 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 ...
0 votes
0 answers
87 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 ...
  • 1
0 votes
1 answer
49 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 ...
  • 217
1 vote
2 answers
320 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 ...
  • 658
1 vote
1 answer
56 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 ...
0 votes
2 answers
110 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 ...
  • 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"?
  • 67
0 votes
0 answers
153 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 ...
0 votes
1 answer
279 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 ...
0 votes
1 answer
876 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 ...
0 votes
1 answer
203 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 ...
0 votes
0 answers
244 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 ...
1 vote
1 answer
234 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 ...
  • 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 ...
1 vote
0 answers
164 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 ...
0 votes
1 answer
249 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?
  • 3
1 vote
1 answer
4k 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 <...
  • 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' => ...
  • 1,094
0 votes
1 answer
423 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 ...
0 votes
1 answer
109 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 ...
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 ...
0 votes
0 answers
21 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 ...
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 ...
-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 ...
0 votes
1 answer
43 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 ...
0 votes
0 answers
66 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,...
  • 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 ...
  • 715
0 votes
1 answer
26 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 ...
0 votes
0 answers
694 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 ...
  • 1,341
0 votes
1 answer
911 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 = ...
0 votes
1 answer
436 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 ...
1 vote
1 answer
61 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.
  • 13

1
2 3 4 5
7