Skip to main content

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
17 views

Disable TwentyTwentyFive styles in site editor

I would like to use TwentyTwentyFive theme as a parent theme and have created a child theme. I would like to disable the default styles inside the the folder twentytwentyfive/styles/*.json and ...
Vayu Robins's user avatar
0 votes
2 answers
42 views

Why does the "visual editor" add useless html-comments and how can I get rid of them?

This is a paragraph and a hr-separator in html: <p>Test</p> <hr/> This is what happens when I create it in the visual editor: <!-- wp:paragraph --> <p>Test</p> <...
rhavin's user avatar
  • 121
1 vote
1 answer
24 views

Added .lowercase-alpha-list now my list is adding an extra period

I have added this code to the additional css: .lowercase-alpha-list { list-style-type: lower-alpha; } .lowercase-alpha-list li::after { content: none; } Here is how I implemented the HTML: <...
Dustin Willingham's user avatar
0 votes
1 answer
251 views

Gutenberg Group block missing Layout options

I have a simple question I was not able to fix. My gutenberg block is missing the Layout options in its settings. I tried to enable via add_theme_support or theme.json but I can't find anything that ...
celsomtrindade's user avatar
0 votes
1 answer
17 views

My classic editor is showing the commands twice?

I'm confused here, why is the classic editor, showing both the graphical buttons in the editor, and the "text" button in the editor, while i'm in the Visual mode? If I go to the text "...
Adam Larsson's user avatar
0 votes
0 answers
63 views

Background color of edit post page

I noticed that the background color of the post editor page is different for different post types. Sometimes it is white, some times it is not. I'm attaching a screenshot of non-white example. Is this ...
upkagefa's user avatar
0 votes
1 answer
14 views

Is child-theme required when modyfing "Appearence > Editor"?

I'm using the block theme "Twenty Twenty-Three" and I've modified its appearance by doing some custom editions through "Appearence > Editor". Now, will I lose all those changes ...
Alvaro's user avatar
  • 141
0 votes
0 answers
403 views

WordPress Editor Missing Padding and Background Color?

For some reason, my editor has no left and right padding and I have no idea of how to get it back. It seems it has also lost its white background. I'm using Twenty Twenty-Three and I'm not sure at ...
Alvaro's user avatar
  • 141
2 votes
0 answers
220 views

What is the correct way to send Markdown code via the API?

When I send Markdown via the API, the Gutenberg editor adds the content within the Classic Editor block. The only way that Gutenberg accepts it using its native blocks is if I sent it by converting ...
user1448031's user avatar
1 vote
1 answer
239 views

Add custom information in editor summary

I made a custom meta data to my posts by using register_meta( 'post', 'my-custom-field', [ 'object_subtype' => 'post', 'type' => 'string', 'single' => true, ]); That ...
Mehdi Zaidi's user avatar
0 votes
0 answers
135 views

How to add "rel=nofollow" for links in latest version of Wordpress?

In earlier versions of Wordpress, when editing a link, there are three options: Open in new tab Search engines should ignore this link (mark as nofollow)Learn more about marking a link as nofollow ...
William's user avatar
  • 53
0 votes
1 answer
44 views

WordPress Started Executing Code Inside PRE Tags Even They Are Properly Escaped

Note: I am using https://wordpress.org/plugins/classic-editor/ with latest updated WordPress. I have a Blog at https://www.exeideas.com/ and I share code snippet here also that was working before ...
Muhammad Hassan's user avatar
0 votes
1 answer
804 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 ...
ss-ss-v1's user avatar
0 votes
1 answer
540 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 ...
Томица Кораћ's user avatar
0 votes
1 answer
52 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 ...
Nora McDougall-Collins's user avatar
1 vote
0 answers
442 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 ...
ylluminate's user avatar
0 votes
1 answer
1k 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 ...
Kevin's user avatar
  • 15
0 votes
1 answer
909 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 ...
conpertura's user avatar
0 votes
0 answers
126 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 ✓ ...
Mac Ank's user avatar
0 votes
2 answers
2k 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 ...
Pedro's user avatar
  • 1
0 votes
0 answers
333 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 ...
Jim Miller's user avatar
0 votes
1 answer
318 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, '...
3x5's user avatar
  • 133
1 vote
0 answers
82 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 ...
Behseini's user avatar
  • 525
3 votes
1 answer
612 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 ...
Antonio HBJ's user avatar
0 votes
1 answer
1k 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 ...
Dandan's user avatar
  • 103
2 votes
1 answer
367 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 ...
Andy Macaulay-Brook's user avatar
0 votes
0 answers
355 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 ...
Chad Cloman's user avatar
0 votes
0 answers
276 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 ...
Ruby's user avatar
  • 1
0 votes
1 answer
139 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
1 vote
2 answers
509 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 ...
Zeth's user avatar
  • 918
1 vote
1 answer
191 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 ...
Matteo Farinella's user avatar
0 votes
2 answers
694 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 ...
Mugen's user avatar
  • 135
2 votes
1 answer
3k 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"?
Gusto's user avatar
  • 87
0 votes
0 answers
263 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 ...
Eugene Lavrinenkov's user avatar
0 votes
1 answer
682 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 ...
Jacob Johnson's user avatar
0 votes
1 answer
2k 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 ...
Met El Idrissi's user avatar
0 votes
1 answer
331 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 ...
Jesse Norell's user avatar
0 votes
0 answers
394 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 ...
Subrata Sarkar's user avatar
1 vote
1 answer
553 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 ...
Osvald Laurits's user avatar
0 votes
2 answers
4k 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 ...
Hashim Aziz's user avatar
1 vote
0 answers
245 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 ...
Sarah Morrow's user avatar
0 votes
1 answer
382 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?
Riya's user avatar
  • 3
1 vote
1 answer
5k 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 <...
Laura's user avatar
  • 11
0 votes
0 answers
28 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' => ...
alex's user avatar
  • 1,112
0 votes
1 answer
197 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 ...
1.21 gigawatts's user avatar
0 votes
3 answers
2k 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 ...
myniuat's user avatar
0 votes
0 answers
25 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 ...
josotoru's 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 ...
Bikash Gurung's user avatar
-1 votes
1 answer
23 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 ...
Kerry Randolph's user avatar
0 votes
1 answer
61 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 ...
Adam Tal's user avatar

1
2 3 4 5
8