mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:48:41 +00:00
fix(blog): comment_form help text
This commit is contained in:
parent
242ca4a65b
commit
0a34a489a0
@ -48,7 +48,7 @@ function getCommentContentToDisplay($comment) {
|
|||||||
$comment_form = new UOJForm('comment');
|
$comment_form = new UOJForm('comment');
|
||||||
$comment_form->addMarkdownEditor('comment', [
|
$comment_form->addMarkdownEditor('comment', [
|
||||||
'label' => '内容',
|
'label' => '内容',
|
||||||
'help' => '评论支持 Markdown 语法。可以用 <code>@mike</code> 来提到 <code>mike</code> 这个用户,<code>mike</code> 会被高亮显示。如果你真的想打 <code>@</code> 这个字符,请用 <code>@@</code>。',
|
'help' => '评论支持 Markdown 语法。可以用 <code>@mike</code> 来提到 <code>mike</code> 这个用户,<code>mike</code> 会被高亮显示。',
|
||||||
'validator_php' => function ($comment) {
|
'validator_php' => function ($comment) {
|
||||||
if (!Auth::check()) {
|
if (!Auth::check()) {
|
||||||
return '请先登录';
|
return '请先登录';
|
||||||
|
Loading…
Reference in New Issue
Block a user