Questions tagged [editor]
'Editor' is one of several default user Roles in WordPress
561
questions
1
vote
1
answer
646
views
Is there any simple way to remove Gutenberg editor H1 H5 H6 and change the label for the rest H2 H3 H4?
I have been looking for a solution for sometime now. Have not found any one yet...
All we all know every page should have only one H1 tag, however it is not known for most of the non tech editor. I ...
0
votes
0
answers
19
views
how i retreive the post content while editing it in real time however the editor is tinymce or gutenberg
I am developing a plugin, and I need to get the content of the editor of the post, whatever the type of editor is gutenberg or tinymce.
I hope that it is with javascript because I have a button action ...
1
vote
0
answers
60
views
wp_editor() youtube link does not load video
Hello I am trying to get a preview of the youtube video when pasted to the editor but it keeps loading plain instead of loading the video preview.
I have created an options page in admin side for a ...
0
votes
1
answer
2k
views
How to add custom table style for table block in gutenberg editor
As per the image, I would like to add extra style for the table block.
1
vote
0
answers
19
views
Visual editor issue by having multiple tiny mce editors in a CPT
I have a custom post type in which I have added multiple wysiwyg editors, when I click on visual, the content of the editor (button, text, title) get inside of the wysiwyg editor.. it's odd.
It looks ...
1
vote
0
answers
96
views
how add custom tag/tool in classic editor?
at this moment i dont use new wp block editor still using classic html editor and at this moment were editing lots of articles in foreign language..default WordPress editor is something like this
if ...
1
vote
2
answers
392
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 ...
0
votes
1
answer
44
views
How do you stop WP from stripping <p> code? [closed]
I can't stand Gutenberg and use the disable Gutenberg plugin.
But... Wordpress is stripping the tags. How do I STOP this?
0
votes
0
answers
444
views
wp_editor() renders outside wrapping div
If have a plugin with a text box. I wish to replace the text box with an editor.
My source code is
<div id="editorwrap">
<?php wp_editor("testing",...
0
votes
2
answers
157
views
Intermittant problem saving posts
I'm being faced very often when I typically go into a saved draft, edit a post and then save it. I'm getting the error:
Updating failed. The response is not a valid JSON response.
I'm finding that I ...
1
vote
0
answers
243
views
Can the wordpress color palettes by changed through Javascript?
I'm building a setup for a client that allows them to use a number of colour swatches throughout their gutenberg blocks in a post. They define the colour swatches in the document inspector panel (post-...
-1
votes
1
answer
3k
views
Missing Edit button
Recently I installed Wordpress 5.5 on my new pc. Installation process went flawless without a single error. However, after installation I cannot edit the pages since the little "Edit" button ...
1
vote
1
answer
226
views
How `window.wp.oldEditor` is being set in the editor?
I'm trying to implement WordPress Gutenberg editor outside of WordPress itself. Everything is working fine except having old classic block support and that requires window.wp.oldEditor to be set.
If ...
3
votes
0
answers
49
views
WordPress Rest API only returns content when posttype has editor capability
I am trying to request my post via the WordPress V2 Rest API in the backend. For whatever reason the post content is only returned when my custom post type has the editor support enabled. Is there a ...
0
votes
1
answer
66
views
Setting user permissions per post
I am trying to assign privileges on posts on a per post basis.
Essentially, I have a custom post type which have authors. They can edit their own posts.
I then have another role, which should be ...
0
votes
0
answers
163
views
Images are broken in Wysiwyg Editor - ACF backend
I work in the local environment WAMP, and images are visible on the frontend.
When I enter to the backend Wysiwyg Editor they are broken
Links look like that
<img class="img-responsive" src="wp-...
1
vote
1
answer
660
views
Filter post_content before loading in Gutenberg editor
I'm trying to manipulate the editor content(blocks) before it's shown in the editor. So ideally I would perform a search and replace and the editor will have a modified version of blocks, but will not ...
2
votes
1
answer
2k
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"?
1
vote
2
answers
144
views
Do not change the order of the tags in the editor
I have a list posts by tag, but the relation is not relevant because first look for the posts with the first tags stored alphabetically, and not the first main tag, that is to say for me the order of ...
0
votes
2
answers
71
views
How to set default post editor based on role?
I found this code to functions.php
add_filter( 'wp_default_editor', create_function('', 'return "html";') );
but I need to limit it to a specific set of roles (such as Editor or Author).
How do I ...
1
vote
1
answer
573
views
Remove html markup by wordpress
I am recently creating a website for my company. I found there are many unnecessary markup by wordpress. I have provided screenshot and sample of the markup that i am referring to.
</ol>
&...
2
votes
1
answer
563
views
Programmatically allow a non-author to edit a post based custom meta field
User A authored and published a post. In that post, User A selected User B as the "Manager" (a custom meta field).
How can I allow User B to edit any post in which they are selected as the "Manager"?...
0
votes
1
answer
637
views
Text Wrapping in Editor not Matching Website View
I am wanting to wrap text around my image in Wordpress. I am using the latest update and I click on the image, align it left or right and it looks good in the editor. When I preview my site the text ...
1
vote
2
answers
656
views
Meta box html is not updating after saving
I have some meta boxes setup, some are my own, some are initialized in plugins.
As the title indicates, these meta boxes are not updating graphically after the post has been submitted.
Here's an ...
6
votes
6
answers
2k
views
Are there ways to make the Gutenberg editor wider? And the HTML-block higher?
I am new to the Gutenberg editor. Previously I used the Classic editor (plugin) when editing WordPress. The editor area "resized" according to the browser window.
With the Gutenberg approach I get a ...
0
votes
1
answer
660
views
Layout Settings in the new Gutenberg editor
Just updated my Wordpress environment to the latest version and saw the Gutenberg editor. It took some digging around but I am able to find almost all of the settings (such as custom fields) I used in ...
0
votes
0
answers
141
views
Contributor edits published post and sends for review - post is made private?
We recently upgrading from WordPress 4.9 to WordPress 5.3 with the new Gutenberg editor.
Previously, I could publish a post, a contributor may make a post-publish edit which doesn't immediately ...
0
votes
0
answers
71
views
Can I retrieve Published changes when changes have been Saved but not Published in Wordpress Semplice?
I have made changes to pages in the Wordpress Semplice theme and have saved them. However they are not published. The original content is still Published on the live site.
Is it possible to retrieve ...
1
vote
0
answers
83
views
WP Editor Issue in Backend
I am stuck on silly issue of wp_editor function in WordPress backend in custom plugin page. See issue for wp_editor in attached images
I have called the wp_editor function like this
<?php ...
1
vote
0
answers
17
views
problem adding code into wp editor for https://wordpress.org/support [closed]
i need to add long code into the https://wordpress.org/support site but it corrupted maybe because using ` into my codes like this:
https://wordpress.org/support/?post_type=topic&p=12215312
so ...
0
votes
1
answer
31
views
How to start editing my site with Wordpress?
I'm new to wordpress and I already read a lot of articles and watched a lot of videos but still can't find a single solution to my problem.
I already bought a hosting and the site is up on the web. ...
0
votes
1
answer
24
views
Extra editor on top of default in Custom Post Type
Normally there is one editor by default in any custom post type.
I want one extra + If extra is possible how will we print it in the front end. For a default we do it like this:
the_content();
what ...
0
votes
1
answer
58
views
Can't update or publish post/pages with browser Safari
I have a very weird issue while trying to publish or update a post/page. Each time I try, I have the following error in the Gutenberg editor: "Update failed" or "Publish failed" depending the ...
0
votes
1
answer
199
views
WordPress page edits are now slow
We have 45,000 pages in our WP Admin. After around 20,000 we started noticing the time it takes to edit a page increased. What we're seeing now is that it's taking around 1 minute to fully open a page ...
0
votes
0
answers
38
views
WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
I want to remove the Theme Editor in the WP Dashboard that is located under Dashboard > Appearance > Theme Editor. The code I'm using in my config.php file in the root of my site is :
define('...
6
votes
2
answers
1k
views
Disable the Code View in the content editor?
Is there a way to disable JUST the Code editor view in the content editor?
I have a bunch of clients who fancy themselves developers and keep messing up their own pages because they really have no ...
0
votes
0
answers
22
views
Have a website using version 4.9.11 and the Appearance option does not appear on Dashboard
We have a very old version of Wordpress and several editing options do not appear on the Dashboard including Appearance and Plugins. It's possible that the original creator of the website disabled ...
0
votes
0
answers
36
views
Tag pages with regular editor
So, I am creating a website, review products and attach dozens of tags to them dependent on what the product entails.
I have a custom review template for my products and based on what I tag the ...
0
votes
0
answers
308
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 ...
0
votes
0
answers
2k
views
Elementor Text Editor Widget Not Working
I was working on this site from past one month and suddenly the text editor widget stopped working I have tried all the solutions.
Including deactivation of all the other plugins, changing the editor ...
0
votes
1
answer
84
views
How to enable error reporting for wp admin section
I have updating my wordpress version to latest version after updating it locally.When i try to edit a page the page crashed and not working after editing and save.I have enable the errors but if show ...
0
votes
0
answers
197
views
Using wp_editor() when not logged stopped working
I've build myself a custom page template. Within this template I'm using the wp_editor() function. Sadly, when I logout now from my wp site and go now to the page I want to see, I'm getting an error ...
0
votes
1
answer
347
views
Square brackets make WordPress ignore newline/paragraph
When I insert this text:
Sources:
1 https://example.com/source-1
[2] https://example.com/source-2
[3] https://example.com/source-3
WP doesn't respect those newlines.
If I remove the texts in [] ...
0
votes
1
answer
52
views
Display simple html code in post
Using Wordpress 5.2 and classic editor, I just want to display HTML code in my post. I use Prismatic as syntax highlighter.
In my post, in the "text editor", I wrote this :
But when I publish my ...
0
votes
0
answers
162
views
home page slug editor missing from WordPress
the website that I am working has been developed by a web designing company. i see that they disabled the home page slug editor but the rest of the pages has the edit option. Now I am trying to add a ...
0
votes
1
answer
21
views
How to add fields in the WordPress editor?
how to add fields in the WordPress editor?
I know there is a need to add persnalized fields in the editor but I want to save other information such as custom checkboxes
Any idea to put a textarea ...
0
votes
0
answers
472
views
Image alt attribute
My images have alt attribute, but is not showing. My SEO pluging does not recognized them and google prensets the an alt text that is not the one I wrote but the name of the picture(file).
this is how ...
1
vote
1
answer
736
views
Allow users to publish child pages of the pages they have access to edit
I have created a custom role called Custom Author. Users in this role can edit their own pages and add new pages. I would like to restrict new page creation and allow Custom Authors to create pages ...
0
votes
0
answers
102
views
How to use WP Backery on Wysiwyg ACF
One of my client use ACF and WP Backery.
I need to use the backery editor to include a specific component, but it must apply on a wysiwyg ACF.
For the moment, I can apply the WP Backery editor only ...
0
votes
0
answers
26
views
Editor width automatically reduced - text is wrapped after 1 character
I have created several blocks using the wordpress editor. When I first create them, everything looks fine. When I revisit the editing page after some time, the width of the text block has shrunk ...