如何检查CK编辑器版本 [英] How to check CK editor version
本文介绍了如何检查CK编辑器版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的项目中已有一个CK编辑器文件夹。如何找到它的版本?
There is an existing CK editor folder in my project. How can I find out it's version? Is it documented?
推荐答案
只需在config.js文件中按如下所示发出警报,它会给出值
just make an alert as below in the config.js file, it gives the value
alert(CKEDITOR.version);
或者您可以直接在文件ckeditor_php4.php中看到它,例如:
or you can see it directly in the file ckeditor_php4.php, for eg:
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>
这篇关于如何检查CK编辑器版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文