如何在我的文本编辑中使用医疗拼写检查器?
我在我的asp.net应用程序中使用tinymce编辑器,我想在我的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"
});
I am using tinymce editor in my asp.net application, I want to implement the Medical Spell Checker in my tynimce edit, How to do that?
I am using following script for showing spell checked its working fine when i am clicking on spell check option of editor but I want medical spell checker when user write something in text field it must show the error.
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"
});
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请在此处查看更多信息:http://www.tinymce.com/wiki。 php/插件:拼写检查器
Have a look for some more info here: http://www.tinymce.com/wiki.php/Plugin:spellchecker