2011-08-22 33 views
1

我在我的asp.net應用程序中使用tinymce編輯器,我想在我的tynimce編輯中實現醫療拼寫檢查器,該怎麼做?如何在我的tynimce編輯中使用醫療拼寫檢查器?

我正在使用以下腳本來顯示拼寫檢查其工作正常,當我點擊編輯器的拼寫檢查選項,但我想要醫療拼寫檢查器,當用戶在文本字段中寫入東西時,它必須顯示錯誤。

tinyMCE.init(
      { 
       mode : "exact", elements : controlID, theme : "advanced", 
       plugins : "table,advlink,preview,media,contextmenu,paste,directionality,fullscreen,spellchecker", 
       theme_advanced_toolbar_location : "top", 
       theme_advanced_toolbar_align : "left", 
       external_link_list_url : "example_link_list.js", 
       external_image_list_url : "example_image_list.js", 
       media_external_list_url : "example_media_list.js", 
       paste_use_dialog : false, 
       paste_create_paragraphs: false, 
       theme_special_link_targets : "_something=My somthing;_something2=My somthing2;_something3=My somthing3;", 
       paste_auto_cleanup_on_paste : true, 
       paste_convert_headers_to_strong : false, 
       paste_strip_class_attributes : "all", 
       paste_remove_spans : false, 
       paste_remove_styles : false,  
       forced_root_block : '', 
//    plugin_preview_pageurl : "../Content/PreviewRichTextElement.aspx", 
       theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,bullist,numlist,outdent,indent,|,link,unlink,|,image,preview,fullscreen,|,cleanup,removeformat,spellchecker", 
       theme_advanced_buttons2 : "formatselect,fontselect,fontsizeselect,|,justifyleft,justifycenter,justifyright,justifyfull,|,forecolor,backcolor", 
       theme_advanced_buttons3 : "cut,copy,paste,pastetext,pasteword,|,tablecontrols,|,visualaid", 
       spellchecker_languages : "+English=en", 
       spellchecker_rpc_url:"../Admin/SpellChecker.ashx" 
      }); 

回答

相關問題