PHP code example of woann / yamecent-admin

1. Go to this page and download the library: Download woann/yamecent-admin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

woann / yamecent-admin example snippets


check = checkForm();//验证表单,如果带有
javascript
    var editor = new wangEditor('editor');
    editor.config.uploadImgUrl = "/admin/wangeditor/upload";
    // 隐藏掉插入网络图片功能。该配置,只有在你正确配置了图片上传功能之后才可用。
    editor.config.hideLinkImg = false;
    //关闭导航栏浮动
    editor.config.menuFixed = false;
    editor.create();