editor
parent
08202b451f
commit
c4c8832a72
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue