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
0answers
21 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
0answers
17 views

Visual editor is bank on my Wordpress staging

I have a website which was built on Wordpress and Woocommerce Main site: domain.com Staging site: staging.domain.com Environment: Source code run on docker : WordPress:4.9.7-php7.2-apache Mysql: 5....
0
votes
0answers
8 views

Tiled gallery not working, latest Wordpress visual editor

I am trying to create a tiled gallery using the newest Wordpress visual editor as such (this shows up in the editor): But when previewing the site it looks like this: where the image is super big. ...
0
votes
0answers
23 views

Preserve image size while replacing an image in visual editor

I have inserted several images on different pages using the visual editor. If I want to replace such an image, I click on the image in the visual editor, click on the icon to edit the image followed ...
0
votes
0answers
18 views

How can I get the Description textarea field to use the Visual Editor for Attachment Posts

I saw this post involving tags. But I can't figure out which /** * Display advanced TinyMCE editor in taxonomy page */ function wpse_7156_enqueue_category() { global $pagenow, $current_screen; if( ...
0
votes
0answers
35 views

How to add TinyMCE Editor to customizer in WordPress for replacing textarea type?

How to add TinyMCE Editor to customizer.php in WordPress for replacing textarea type?
0
votes
1answer
13 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
0answers
47 views

Visual editor keeps removing non-breaking spaces

I'm on a virgin WordPress 5.2.3 installation with twenty nineteen theme using the classic editor. I'm facing the problem, that   entities added in text tab are removed once I edit the text in ...
0
votes
1answer
48 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
1answer
38 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
0answers
28 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
1answer
26 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 ...
0
votes
0answers
10 views

Visual composer disables visual tab in editor

Running WP 5.2.3 and Visual Composer 19.0 disables the Visual tab in my text-editor. I have already tried this But it is not helping me out. Also no console errors are displayed. Can somebody help ...
0
votes
2answers
768 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
0answers
25 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
1answer
38 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?
1
vote
1answer
449 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 <...
0
votes
0answers
21 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' => ...
0
votes
0answers
13 views

Visual Composer: Backend param value sanitation

Is there a way to sanitize the value saved from an element param in the visual composer? I have a custom param that ends up having a JSON value. I want to transform that JSON into a PHP array on save....
0
votes
1answer
101 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
1answer
26 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
3answers
100 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
0answers
9 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 ...
1
vote
1answer
174 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
1answer
15 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
1answer
15 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
0answers
34 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,...
0
votes
0answers
13 views

Is it possible to autosort tables in the visual editor?

A client asked if the tables in his Wordpress editor could be sorted alphabetically automatically. He asks because the tables are quite long and it would be easier for him to edit them this way. (I ...
1
vote
0answers
340 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 ...
0
votes
1answer
20 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
0answers
211 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 ...
0
votes
1answer
151 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
0answers
10 views

Post tools gone from right side

Using post editor with Laurel theme. All of my right hand tools (ie. feature image, permalink, etc.) are GONE. I was using visual, sitched to code for a few seconds, then back to visual. Everything on ...
0
votes
1answer
26 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
1answer
12 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.
1
vote
1answer
129 views

create-guten-block in wordpress theme?

I'm working on a wordpress theme and want to replace my shortcodes with gutenberg blocks. I'm new to working with blocks but having looked into it a bit I've decided to try and use create-guten-block ...
1
vote
2answers
502 views

Gutenberg “Add Block” button is not active (greyed out), cannot add new blocks

I am currently using Wordpress version 5.0.2, i want to add news posts but the button "ADD BLOCK" is not active.
0
votes
0answers
505 views

Wordpress visual composer backend editor not showing

I have a problem with my WordPress visual composer. It's working in woo commerce during uploading of pictures and content but not showing in page edit. Whenever I try to edit page, it's just showing ...
0
votes
1answer
63 views

Can I still use Visual Composer Website Builder after upgrading to WordPress 5.0?

I have a bunch of pages on a WordPress site I'm going to work on made with Visual Composer Website Builder. Given 5.0 was just released a couple days ago, I'm wondering if I should upgrade before ...
4
votes
4answers
2k views

How to disable Gutenberg editor?

As the 5.0 is getting real, and so is Gutenberg... Is it possible to disable Gutenberg and use previous TinyMCE editor? How to do this?
2
votes
1answer
1k views

How to add custom style to Gutenberg?

In my Classic Editor, I have loaded a few custom styles, which can be selected from an additional "Format" dropdown list. They are included into an editor-style.css. Now, in Gutenberg, that dropdown ...
1
vote
0answers
452 views

Why is WPBakery Page Builder backend editor not clickable? [closed]

The backend editor button is not clickable. I've tried to change all files/folders attributes to 777 for this plugin. I've checked and increased some php parameters (phpinfo for my site - https://...
2
votes
1answer
106 views

How to ensure the visual editor doesn't ruin my iframe?

I have this iframe and JavaScript embedded in a post: <iframe onload="fa_iframeresize.do(this);" src="https://example.com/calc.php?tp=dif&cl=beleggen&h=1&wf=19370&country=NL" ...
0
votes
1answer
392 views

Custom wp.editor.initialize settings ignored

I built a meta box where a click on a button shows a textarea with rich text editing enabled. After creating the textarea and appending it to the DOM, I run this to initialize the editor: console.log(...
0
votes
0answers
59 views

“Formats” Select Menu in WP Editor doesn't show up with correct colour

I added the Dropdown "Formats" and defined some custom styles. The followed tutorial is in this section. Everything is correct, but there's a small issue: My custom formats titles within the ...
0
votes
1answer
829 views

Gutenberg Block empty after reload of editor

Well, everythings fine with this. editor and frontend works. but when i come back to pages edit screen, the block is empty. i think there is an error with the attributes, but i can't find good ...
3
votes
1answer
299 views

Tiny MCE editor stripping xlink:href parameter from SVG USE tag

I have an inline SVG tag with an embedded <USE> tag. HTML: <ul> <li><svg class="icon-user"><use xlink:href="#icon-user"></use></svg> My Account</li>...
1
vote
0answers
52 views

Popup box when Clicking on Insert into post button in wordpress

I need to show a alert popup on clicking Insert into Post button in Media Library of WordPress, if the selected Image is less than some width and height in Library. Where can I find the onClick event ...
1
vote
1answer
104 views

Inline Style attribute getting stripped off

I am trying to style a particular section of a blog post using the WordPress editor in HTML mode. <div style="background: red;"> Special section </div> The works fine. But when I add ...
2
votes
0answers
115 views

TinyMce in WordPress - Getting the “fullscreen” button to stay on the right when customising button layout

I'm using TinyMce inside WordPress and I have customised the button layout like so: add_filter( 'tiny_mce_before_init', 'blm_format_tiny_mce' ); add_filter( 'mce_buttons', '...