我的项目中有一个现有的 CK 编辑器文件夹。我怎样才能知道它的版本?有记录吗?
只需在 config.js 文件中发出如下警报,它就会给出值
alert(CKEDITOR.version);
或者您可以直接在文件 ckeditor_php4.php 中看到它,例如:
var $version = '3.6.3';
工作演示:
alert(CKEDITOR.version);
console.log("CKEDITOR.version ==",CKEDITOR.version);
<head>
<meta charset="utf-8">
<title>CKEditor</title>
<script src="https://cdn.ckeditor.com/4.11.4/standard/ckeditor.js"></script>
</head>
<body>
<textarea id="editor1"></textarea>
<script>
CKEDITOR.replace( 'editor1' );
</script>
</body>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)