2012-02-19 59 views
3

對於Dojo我可以得到4行HTML的,沒有把我的服務器上的任何JavaScript文件富文本編輯器:jQuery中的CDN Richtext編輯器?

<link rel="stylesheet" 
    href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/claro/claro.css"/> 
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js" 
data-dojo-config="isDebug: true,parseOnLoad: true"></script> 
<script type="text/javascript"> dojo.require("dijit.Editor"); </script> 
<textarea data-dojo-type="dijit.Editor" name="body" rows="10" 
    cols="60" class="claro"></textarea> 

我考慮改用jQuery的。我可以用它做這樣的事嗎?

是否有任何jQuery CDN富文本編輯器可用?

回答

1

我不認爲你會找到與jQuery,或tinyMCE或ckeditor或任何東西,因爲這個功能取決於跨域加載。道場有很好的支持。

我看到託管在CDN上的jquery,但沒有插件。