Questions tagged [wp-editor]
The wp_editor() function allows plugin and theme developers to render a custom instance of the TinyMCE editor used by WordPress
329
questions
0
votes
2
answers
50
views
WordPress with Avada Theme Is Stripping Custom HTML Tags
I am using WordPress (v6.5.4) and the Avada Theme (v7.11.3). I am re-developing an existing website (checktls.com) that contains a ton of custom HTML tags. I need to display these tags in Avada Text ...
2
votes
1
answer
78
views
How to add placeholder in wp_editor?
i would like to add placeholder when using wp_editor() function.
I tried to pass placeholder attribute in textarea, but didn't work. I tried to pass it in settings
wp_editor(
$...
0
votes
0
answers
36
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 ...
0
votes
1
answer
79
views
How to get wp_editor field content when it is inside a Form?
I am working with a plugin where admin needs to send Email to the user. For Email composing I have used wp_editor inside a FORM and the FOMR submission is handling with an AJAX call.
How can I get the ...
0
votes
0
answers
14
views
Add custom text in /post.php?post=503&action=edit
I'd like to know how to add a custom text like "Hello world!" inside the edit post.
0
votes
0
answers
66
views
wp_editor mce-view
We are using the wp_editor on a page on the front-end to allow subscribers to create a cpt post.
We added support for auto-turning youtube urls into embed tags:
function mce_scripts() {
...
0
votes
0
answers
16
views
How to edit the Page?
I've opened the WordPress page for editing, but I'm having trouble locating the content I want to edit. Is it possibly hidden, or could there be another issue? Can anyone assist me in resolving this ...
0
votes
0
answers
34
views
Add submenu page to a custom menu page
For a company project I'm fully customizing the wordpress wp-admin dashboard to be the front end after an user is logged in. I need to hide the admin bar for non admin users and add a submenù to a ...
0
votes
0
answers
15
views
Wordpress Theme file editor - error with sleep() php function
I'm doing some tests by modifying my .php files directly from the wordpress theme editing interface ( /wp-admin/theme-editor.php ). (to avoid lengthy deployment pipelines)
However, as soon as I add ...
0
votes
0
answers
25
views
How to make wordpress editor honor double <br> (shift+enter) but keep adding regular <p> made with enter key?
I'd like the editor to behave like this:
- Press Enter > produces a paragraph (<p>)
- Press Enter + Uppercase/Shift > produces a line break (<br>)
- Press Enter + Uppercase/Shift ...
0
votes
0
answers
29
views
Multiple wp.editor in a custom widget using JQuery
Hi I'm trying to build a custom accordion widget with the possibility to add multiples panels with WYSIWYG editor. My issue is that the editor content from the javascript is not saved in my widget $...
1
vote
0
answers
55
views
Why Is wp.editor Not Adding the ”Add Media” Button When I Initialize It?
I have a custom post type with a custom field that has an array of key-value pairs (Locations). I'm trying to load the wp.editor for one of the key-value pairs (Description) and it's working except it'...
2
votes
1
answer
225
views
How do I display and edit other posts within the 'Edit Post' area of Wp-Admin Dashboard
I'm wondering how to edit the 'New Post/Edit Post' area of Wordpress.
I want to create a new 'Screen Element' like the plugins do.
I want this area to display all posts with a corresponding taxonomy ...
0
votes
1
answer
48
views
Theme Options wp_editor breaks with 6.0.2 update
I'm in the process of migrating my sites to a new server (windows -> nginx). One of my old themes has 4 options pages. One of the options pages includes 3 wp_editor instances. However, all 4 ...
0
votes
1
answer
273
views
WP Editor does not Initialize Correctly When Form Elements are Removed from the DOM
I am using js code to add and remove form elements and to initialize the wp_editor on the dynamically added textareas with js. The wp editor is initializing correctly when I am only adding elements ...