Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
37 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 pictutes and content but not showing in page edit. When ever i try to edit page, it's just showing ...
-1
votes
1answer
28 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 ...
3
votes
2answers
770 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?
1
vote
1answer
38 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
26 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://...
0
votes
0answers
19 views

How to do action after successful post save/update

On the frontend, users can submit a post, and when they click a submit button, javascript uses AJAX to publish the post to the live site. However, to automatically moderate the posts, I want to run ...
0
votes
0answers
15 views

<object> tag turns to <img> tag in classic's visual editor

So the designer is currently using <object> for displaying images instead of <img>. And I have to put it in wordpress. It can be displayed in the front side but on the admin side on the ...
0
votes
0answers
9 views

On opening Edit New Post, insert something in editor [duplicate]

I would like to automatically insert a shortcode every time one opens the editor for creating a new post, for a particular post type. So that the editor is pre-populated. It shouldn't happen for ...
0
votes
0answers
21 views

Wordpress classic editor code shows

I'm using the Manual Theme and I'm trying to set a simple text block via the backend editor in one documentation page, but when I do it, WP'S bracket code shows, how could I avoid this? I want to ...
2
votes
0answers
74 views
+50

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
83 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
20 views

How to remove this vertical split in visual editor?

I am given the backend access as a contributor to a website's WordPress CMS. However, since day one, I've been seeing this vertical line in the visual editor box. The line doesn't allow me to write or ...
0
votes
0answers
22 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 https://codex.wordpress.org/TinyMCE_Custom_Styles#Registering_Custom_Styles Everything is ...
0
votes
1answer
107 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
86 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
49 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
0answers
57 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
30 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', '...
1
vote
2answers
125 views

Customising the WordPress TinyMce editor and it's buttons

I'm trying to cutomise the TinyMce editor within WordPress and I took this code from an older WP site I did, but the buttons I have set don't seem to be working, for example, this is what I have: ...
0
votes
1answer
44 views

Prevent markup being altered when switching between Visual and HTML editors

I've seen this question asked a few times, but none of the solutions have worked for me. Basically, when switching between TinyMCE and the HTML editor, my markup gets ruined. I have a nested list on ...
0
votes
1answer
102 views

Add Condition if WPBakery Page Builder Used on Page or Not

I'm using WPBakery Page Builder for a new site I'm developing, and I need to add a condition for if WPBakery Page Builder is used for a page or not. I looked through the API documentation, and all I ...
0
votes
0answers
49 views

property=“og:image” doesn't register with including a php file as a shortcode in WP Post and Pages

I would love some help or a direction to a point of solid research on this issue. From what I understand, and my current research, wordpress by default out of the box does not support php files to ...
1
vote
0answers
92 views

How to Add TinyMCE to widget

I'm trying to create simple widget with TinyMCE rich editor but it's not working My widget code: add_action('widgets_init', 'string_example_name_init'); function string_example_name_init() { ...
0
votes
0answers
44 views

WPBakery Editable/Reusable Templates + Variable Content from Parent page

I'm creating a website at the moment with a theme that uses WPBakery Page Builder. I have the following requirements that I cannot figure out how to do: There is a page that has 5 subpages. The ...
-4
votes
2answers
107 views

WPBakery Editor dropdown hidden behind editor [closed]

I'm have the following problem. It happens only on some computers (usually Mac, both Safari an Chrome, don't know the versions). When I'm going to change the block type (paragraph, header, etc) on ...
0
votes
0answers
82 views

TinyMCE adding non breakable space between links

I have a small issue, we are trying to have a hashtag block. Where each hashtag link leads to a different page. However, TinyMCE is adding &nbsp; between each link. Which leads to links not ...
1
vote
0answers
342 views

WordPress Visual Mode Not Working - adding span code while clicking

After the update of WordPress 4.9.6, I got a very strange issue that I am not able to write anything in WordPress editor in visual mode. When I'm trying to switch from text to visual I am getting ...
0
votes
0answers
21 views

Add word hints in WordPress post editor

Is there a way to add list of word hints e.g. in popup in post editor. Something like spell-checker that highlights some text and allow to choose alternative.
0
votes
0answers
60 views

Insert into post only if caption is there for image

How can I check if caption is empty or not before inserting image into the post and prevent image being added to the editor and show error message if caption is not there? When inserting image from ...
1
vote
0answers
58 views

Visual editor not showing all table rows

Does anyone know why the visual editor does not show all table rows. I have over 30 rows of data, but in the visual editor only ten are visible, the text editor is the only way to access the rest. ...
0
votes
0answers
23 views

can't save editor content

Recently 1 of my wordpress site can't save the content ONLY IF the text has aligned center or right. I'm using Visual Composer too. When I try to edit text block, it prompts 404 error below admin-...
0
votes
0answers
46 views

How to get values from Tinymce visual editor popup?

Hello this is mi first question here I hope I get some answer, since i ve seen lots of unanswered questions. I am making a plugin and I need to save values entered in tinymce button popup. The ...
0
votes
1answer
132 views

Insert Link to Audio versus Embed Audio Player

I've run into a very odd problem. One of my authors will upload an audio file in the Media Manager, and instead of giving the option to embed a media player, it just inserts a link to the audio file. ...
0
votes
0answers
16 views

How can I make the 'Insert / Edit Link' not output the ASCII version of special characters?

When using the Insert / Edit Link button in WordPress and a post title includes a ', for some reason it's pushed into my WYSIWG editor as the ASCII code for the character when the linked post title is ...
0
votes
1answer
34 views

Post/Page editor loads twice

WordPress 4.9.2 On the backend, the Page/Post editor seems to be loading twice. First it displays the Text version of the page/post. Then just when you think it finished, it reloads again with the ...
0
votes
0answers
32 views

How to use shortcode in link? [duplicate]

I'm trying to enter shortcode as link in visual editor, which it create: <a href="[br_login_link]">Login to system</a> However, when HTML rendered, the shortcode stripped out: <a ...
1
vote
2answers
134 views

Strange gibberish JavaScript in Editor – site hacked?

A client's website runs on the theme 'enfold' which features the "Enfold Advanced Layout Editor". Currently that editor is broken – probably due to old version vs php or something. Anyways – trying to ...
0
votes
0answers
538 views

This page isn’t working domain.com didn’t send any data. ERR_EMPTY_RESPONSE

when i am editing my home page in admin the page is giving site cant be reached error , while editing other pages not giving any error may be my home page have lot of content , i think because of that ...
0
votes
1answer
21 views

Prevent editor from adding script or form

For security reasons (e.g. preventing an editor to create a form that mimics the login form and send the credentials anywhere), we'd like to forbid editors to insert JavaScript or Forms into the pages....
2
votes
0answers
23 views

How to add a custom field after wp post

I want a subtitle box after the title. How to show it in the post editor?
1
vote
0answers
206 views

Documentation for adding a tinyMCE view for visual live preview of custom shortcode?

I'm trying to add a WYSIWYG visual representation for a custom shortcode into the tinyMCE editor but I can barely find any information on how to do that. Researching the last few days resulted in ...
0
votes
0answers
23 views

Detect the modal for currently editing components in visual composer

In visual composer on front-end mode, when we are using a shortcode, there is a data-model-id attribute for each shortcode section. And when you click on the edit button there appears a modal window. ...
0
votes
1answer
25 views

Child theme loses wp-admin styling

I am new to Wordpress so I apologize if I use incorrect words while referring to things. We are using the theme smart-mag. I created a child theme smart-mag-child which contains a style.css and ...
1
vote
1answer
94 views

Wordpress' visual editor messing up my (nested) lists (and other things as well)

I always have trouble trying to create some nested lists in Wordpress using the default editor in visual mode, since I want to avoid the HTML extra work. Even though I write the HTML myself in the ...
0
votes
1answer
136 views

Set default “Link CSS Class” in add media admin editor

I want to set the default link css class to all those images which are added to admin editor. I have found the way to add default image class with this action: function add_image_class($class){ $...
0
votes
0answers
22 views

How do I edit HTML and keep it as it is after switching to Visual Editor in WordPress?

Previously I had used plugin called HTML mode locker. But it no longer supports latest wordpress versions. Is there any easy way?
0
votes
2answers
312 views

How to display shorter version of wp_editor?

You can use wp_editor to display the wordpress rich editor. How can I display the shorter version (Please see the screenshot, I need that) of wp_editor?
1
vote
0answers
360 views

TinyMCE - how to select tags node from the place where the caret is?

Hello to everyone! I've been wracking my brains, trying to find a solution for this. And here is what I have. Task: I want to detect in which tag my cursor(caret) is standing, and then to select ...
1
vote
1answer
2k views

How to edit the actual paragraph dropdown in TinyMCE with custom text styles

I want to give the backend-users only 4 text styles to choose from. Headline, Subheadline, Paragraph and a style we called .statement. Searching for terms like "custom styles in TinyMCE" always ended ...
0
votes
1answer
533 views

Disable text tab on WordPress text-editor

I'm looking for a way to disable text tab on wordpress text-edito (red square on the pic) for all my users roles except ADMINISTRATOR because i don't want them to have the possibility to add ...