Nicky

Results 3 comments of Nicky

> 我本来只在gitee上面发了这个issue,以为作者只有国内的库没有顾上,想着github上应该是没问题的,结果没想到这里的代码也存在install问题,这是我在gitee上发的解决方法: > > 本失败原因是由于tui-editor(富文本编辑器插件)更名造成的,现在已经更名为toast-ui/editor(以下第一步) 并且该插件还进行了文件名的更名(以下第二步)以及方法名的更名(以下第三步) > > 解决方案如下: 1.首先将package.json中的tui-editor那一行修改为"@toast-ui/editor": "^3.1.3", > > 2.进入\src\components\MarkdownEditor\index.vue文件,将他的所有import删除换成下面四行 import 'codemirror/lib/codemirror.css' import '@toast-ui/editor/dist/toastui-editor.css' import Editor from '@toast-ui/editor' import defaultOptions from './default-options' > > 3.把该页面(还是第二条中的文件)的getValue和setValue分别换成getMarkdown和setMarkdown 把页面中的所有tui-editor全部替换为@toast-ui/editor...

![image](https://user-images.githubusercontent.com/5110978/114537835-3f35b580-9c85-11eb-937a-c85e6bc2c149.png) 这个是yaf 版本

https://www.php.net/manual/zh/yaf-config-simple.construct.php @laruence