我一直在努力增加mathml对ckeditor的支持。我已经通过了几个链接,但似乎没有发挥作用。我甚至尝试过WIRIS插件,但它没有给我任何结果。对于WIRIS,我遵循了这链接。请有人告诉我,我如何实现mathml的核心用户。?
CKeditor版本: 4.4.5
谢谢,
发布于 2014-11-21 14:00:53
假设您已经准备就绪,那么您所要做的就是:
/path-to/ckeditor/plugins/ckeditor_wiris显然,您必须将“路径- to”替换为您自己的路径,以找到ckeditor所在的位置。它应该是这样的:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<script src="path-to/ckeditor/ckeditor.js"></script>
<script src="path-to/ckeditor/plugins/ckeditor_wiris/plugin.js"></script>
</head>
<body>
<form>
<textarea name="editor1" id="editor1" rows="10" cols="80">
This is my textarea to be replaced with CKEditor.
</textarea>
<script>
CKEDITOR.replace( 'editor1', {
extraPlugins:'ckeditor_wiris',
allowedContent: true
});
</script>
</form>
</body>
</html>发布于 2014-11-21 12:28:38
有谁能告诉我,我如何实现mathml的核心用户?
为什么不让MathML实现为网络浏览器(火狐支持MathML和WebKit也支持,谷歌只需启用它在Chrome)。
如果“实现”的意思是避免CKEditor,那么在尝试包含它时删除它,我在编写http://ckeditor.com/addon/texzilla时遇到了这个问题。插件的源代码可以在https://github.com/r-gaia-cs/CKEditor-TeXZilla上找到(希望这能帮助您找到解决问题的方法)。
https://stackoverflow.com/questions/27057529
复制相似问题