Skip to content
欢迎扫码关注公众号

WeCenter 引用部分的第一行显示为空行及引用部分后面多一行空行

models/question.phpsave_questionupdate_question 方法中增加了下面两行代码,以替换多余的换行符。

php
$question_detail = str_replace(array("<blockquote>\r\n","[quote]\n","[quote]\r"), "[quote]", $question_detail);
$question_detail = str_replace(array("</blockquote>\r\n","[/quote]\n","[/quote]\r"), "[/quote]", $question_detail);

发布文章:models/publish.php=>publish_article
修改文章:models/article.php=>update_article

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.