This commit is contained in:
杜恒
2021-02-20 15:03:31 +08:00
parent db5f2fcba5
commit e3871dec10
6 changed files with 65 additions and 6 deletions

View File

@@ -734,6 +734,17 @@ function themeConfig($form)
$JLimitOneChinese->setAttribute('class', 'joe_content joe_other');
$form->addInput($JLimitOneChinese->multiMode());
$JPasteUpload = new Typecho_Widget_Helper_Form_Element_Select(
'JPasteUpload',
array('off' => '关闭(默认)', 'on' => '开启'),
'off',
'是否开启编辑器粘贴上传图片功能',
'介绍:开启后文章编辑器将拥有图片上传功能 <br />
其他Typecho开发版已实现粘贴上传如果您使用的是开发版请关闭此项'
);
$JPasteUpload->setAttribute('class', 'joe_content joe_other');
$form->addInput($JPasteUpload->multiMode());
$JBaiduToken = new Typecho_Widget_Helper_Form_Element_Text(
'JBaiduToken',
NULL,