💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 插入链接校验 插入链接时,可通过如下配置对文字和链接进行校验。 ``` editor.customConfig.linkCheck = function (text, link) { console.log(text) // 插入的文字 console.log(link) // 插入的链接 return true // 返回 true 表示校验成功 // return '验证失败' // 返回字符串,即校验失败的提示信息 } editor.create() ```