我一直在努力为ckeditor添加mathml支持。我已经经历了几个链接,但似乎没有工作。我甚至尝试过ckeditor的WIRIS插件,但它没有给我任何结果。对于WIRIS我跟着this链接。有人能告诉我如何为ckeditor实现mathml吗?ckeditor Mathml插件安装
CKEDITOR版本: 4.4.5
感谢,
我一直在努力为ckeditor添加mathml支持。我已经经历了几个链接,但似乎没有工作。我甚至尝试过ckeditor的WIRIS插件,但它没有给我任何结果。对于WIRIS我跟着this链接。有人能告诉我如何为ckeditor实现mathml吗?ckeditor Mathml插件安装
CKEDITOR版本: 4.4.5
感谢,
假设你已经具备了所有你所要做的CKEditor如下:
/path-to/ckeditor/plugins/ckeditor_wiris
一下添加到CKEditor的的配置属性:
extraPlugins:'ckeditor_wiris'
allowedContent: true
很明显,你有自己的路去那里的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>
是否有人可以告诉我怎么做我的CKEditor的实施MATHML?
为什么不让网页浏览器的MathML实现(Firefox支持MathML,WebKit也支持,Google只需要在Chrome中启用它)。
如果通过“执行”,您的意思是避免CKEditor在您尝试将其删除时将其删除 我写过http://ckeditor.com/addon/texzilla时遇到此问题。插件的源代码可以在https://github.com/r-gaia-cs/CKEditor-TeXZilla找到(希望这可以帮助您找到解决问题的方法)。
这就是我试图实现的。 – 2014-11-25 04:56:18