一个更好,更简单的解决方案是将CodeMirror实例的readOnly属性设置为true,如下所示: $('.code').each(function() { var $this = $(this), $code = $this.html(); ...
確定! 回上一頁