Aieditor编辑器使用require.js集成到内容管理系统
1.首先打开http://www.aieditor.com.cn/编辑器官网
2.这里以HKCMS框架为例,其余的支持require.js引入的基本都适用本教程
效果:
3.打开编辑器文档,layui集成的方式,代码如下:
<!doctype html> <html lang="en"> <head> <title>AiEditor Demo</title> <meta charset="UTF-8"/> <meta content="width=device-width, initial-scale=1.0"/> <link type="text/css"> <script type="module"> import {AiEditor} from 'aieditor/index.js' new AiEditor({