## Use ENTER, not SHIFT+ENTER to Insert Line Break in WP editor

Question
I would like to use ENTER button to insert line break, not SHIFT + ENTER by default. I added this code into function.php. It works but the problem is the text-align buttons are not working. When I click on any ...
0
7 days 0 Answers 16 views

## Backslashes being stripped from CSS

Question
The title explains my problem. Upon saving CSS stylesheet in the "Appearance > Editor", single backslashes are being stripped out of the stylesheet. For example: content="foo" becomes: content="foo" I cannot find any solution to this on the web. Is there a way ...
0
2 weeks 0 Answers 24 views

## wp.editor.initialize does not show the same default toolbar

Question
In a custom post type of my plugin, for the edit post page, there is a WP Editor inside a metabox. In this metabox there is a button to add WP Editors via jQuery and Ajax. I managed to do it but ...
0
2 weeks 0 Answers 23 views

## Replace wp_editor with Elementor in Plugin (if available)

Question
I've developed a custom plugin that has an editable section in the admin. In order to call the WordPress editor, I'm using the following: <?php wp_editor( $post->profile, 'listingeditor',$settings = array('textarea_name' => 'profile')); ?> This works great, but I have a ...
0
2 weeks 0 Answers 25 views

## How to filter or remove default panels in Gutenberg PrePublish Panel

Question
I would like to edit the text or remove and re-create the Publish panel of Gutenberg's PrePublish Panel in the editor sidebar. I know I can use wp.data.dispatch( 'core/edit-post' ).removeEditorPanel( 'example-panel' ); but it doesn't seem to work for any panels ...
0
4 weeks 0 Answers 32 views

## Cannot Update A Post, 404 Error

Question
After months of leaving and deleting my WordPress site, I decided to try again. I downloaded the new version 4.7.3, installed and added a new post. So far so good. I then went back to edit the post and the ...
0
4 weeks 0 Answers 37 views

## How to stop wp-editor() overwriting my HTML?

Question
I have the old problem that the WordPress editor overwrites my HTML code. For example, the editor inserts <p> and <br> tags where you don't have them set. The second problem is the editor doesn't show the real source code. If ...
0
4 weeks 0 Answers 32 views

## Command to render again tinyMCE editor by id

Question
I'm rendering a tinymce editor inside a react app with html passed from wp_editor The editor renders, but I need to switch between the text editor and visual editor to make the editor work.
0
1 month 0 Answers 48 views

## Bold button gets unchecked on enter click when bullet button is also selected in WP Editor

Question
I am using wp_edior. Here is the scenario : Click bold, italic, bullets and write 1 line. Now press enter Bold and italic buttons gets unchecked. I tried below solution but it did not work for ...
0
2 months 0 Answers 46 views

## Include Recent Post in Category

Question
I use a free WordPress Theme called DefautMag, It has a front page with 3 columns, In the front page settings, I could choose any category to display in any of these columns, But I want to display recent posts ...
0
2 months 0 Answers 51 views