最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Woocommerce product editor does not add br

programmeradmin3浏览0评论

When I add content to woocommerce product editor, it does not add br (new line), when I push the enter key, so the content on the website is in one line. Any ideas, how to resolve this issue? I changed the theme and I turn off the plugins, nothing worked.

When I add content to woocommerce product editor, it does not add br (new line), when I push the enter key, so the content on the website is in one line. Any ideas, how to resolve this issue? I changed the theme and I turn off the plugins, nothing worked.

Share Improve this question asked Jan 17, 2020 at 12:41 NataliaNatalia 1192 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Try editing in the 'text' editor and adding   on the empty lines and see if that gets stripped out.

Update: Here's a screen capture, yeah it gets stripped out because of WordPress' default formatting (wpautop), but it still registers what was intended. Here's the text:

Now here's the end result on the front end:

There must be something stripping out your formatting either from the theme or some plugin.

发布评论

评论列表(0)

  1. 暂无评论