1
0
Fork 0
develop
panliang 2023-05-08 21:32:03 +08:00
parent 08202b451f
commit c4c8832a72
1 changed files with 7 additions and 3 deletions

View File

@ -49,10 +49,14 @@ class Components extends BaseRenderer {
public function fuEditorControl($name ='content', $label = '内容', $uploadUrl = ''){
return amisMake()->RichTextControl()->vendor('tinymce')
->options([
"menubar"=>false,
"menubar" => false,
"min_height" => 500,
"toolbar"=> "undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | link image | help",
"help_tabs" => []
"toolbar" => "undo redo | bold italic underline strikethrough | fontfamily fontsize blocks | alignleft aligncenter alignright alignjustify | image link | outdent indent | numlist bullist | forecolor backcolor removeformat | charmap emoticons",
"help_tabs" => [],
"convert_urls" => false,
"quickbars_selection_toolbar" => "fontsize forecolor backcolor",
"toolbar_mode" => "wrap",
"quickbars_insert_toolbar" => false,
])
->name($name)->label($label);