Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 mootools WMD 编辑器,但脚本中似乎存在错误,并且在我点击引用按钮后它没有正确格式化所选内容。
command没有定义。我在脚本中没有看到对的引用,command我查看了附近的一个进行格式化的函数。
command
我只是更改了第 1916 行:
command.wrap(chunk, mooWMD.Config.lineLength - 2);
到
chunk.wrap( mooWMD.Config.lineLength -2 );
这似乎可以解决问题。