我在编辑器中添加了链接选项,当我尝试打开链接选项时,我遇到此错误,我进行了大量配置,但我猜版本问题请任何人帮助我。.
laravel:v5.7 xampp
<script src='//cdn.tinymce.com/4/tinymce.min.js'></script>
<script>tinymce.init({
selector:'textarea',plugins:'link',default_link_target: '_blank'});</script>
Uncaught TypeError: Cannot read property 'settings' of null
at init (tinymce.min.js:5)
at i.init (tinymce.min.js:2)
at new i (tinymce.min.js:2)
at Object.create (tinymce.min.js:2)
at Array.<anonymous> (tinymce.min.js:5)
at Object.Ht [as each] (tinymce.min.js:2)
at i.create (tinymce.min.js:5)
at i.add (tinymce.min.js:5)
at init (tinymce.min.js:5)
at i.init (tinymce.min.js:2)