This commit is contained in:
haoouba
2021-03-16 21:44:38 +08:00
parent 3f45f2129c
commit 3989e2f08f
4 changed files with 20 additions and 4 deletions

View File

@@ -894,4 +894,18 @@ function themeConfig($form)
);
$JOverdue->setAttribute('class', 'joe_content joe_post');
$form->addInput($JOverdue->multiMode());
$JEditor = new Typecho_Widget_Helper_Form_Element_Select(
'JEditor',
array(
'on' => '开启(默认)',
'off' => '关闭',
),
'on',
'是否启用Joe自定义编辑器',
'介绍开启后文章编辑器将替换成Joe编辑器 <br>
其他:目前编辑器处于拓展阶段,如果想继续使用原生编辑器,关闭此项即可'
);
$JEditor->setAttribute('class', 'joe_content joe_post');
$form->addInput($JEditor->multiMode());
} ?>