首页
开发手册
应用中心
工具
用户中心
FoundPHP Editor Application
English
中文简体
English
上一篇
下一篇
#### What is an editor In the background of the system, some content needs to be stored together with styles and pictures, and an editor is needed at this time. Common editors are:MarkDownEditor、kindeditorand Ueditor。 ##### FoundPHP Use Editor | Configuration Code | Editor Name | | ------------ | ------------ | | mdeditor | MarkDownEditor | | kindeditor | kindeditor | | ueditor | Ueditor | ```php //Configure the editor you need in the PHP program $config['edit']['type'] = 'mdeditor'; ``` ##### FoundPHP Invoke the editor | Configuration Code| eDscription | | ------------ | ------------ | | id | post receiving name | | data | default load value | | width | editor width | | height | editor height | | readonly |read-only status | | display | value :mini, represents a mini-editor | ```html
content
{run:echo edit(array('id'=>'content','data'=>$content));}
```