Python 塔架中的TinyMCE拼写检查器
我一直在尝试让TinyMCE拼写检查器与我的挂架应用程序一起工作。我的第一个问题实际上是首先捕获post数据。Firebug告诉我正在发送以下信息:Python 塔架中的TinyMCE拼写检查器,python,tinymce,pylons,spell-checking,pyenchant,Python,Tinymce,Pylons,Spell Checking,Pyenchant,我一直在尝试让TinyMCE拼写检查器与我的挂架应用程序一起工作。我的第一个问题实际上是首先捕获post数据。Firebug告诉我正在发送以下信息: {"id":"c0","method":"checkWords","params":["en",["Lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit","sed","do","eiusmod","tempor","incididunt","ut","labor
{"id":"c0","method":"checkWords","params":["en",["Lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliqua","Ut","enim","ad","minim","veniam","quis","nostrud","exercitation","ullamco","laboris","nisi","aliquip","ex","ea","commodo","consequat","Duis","aute","irure","in","reprehenderit","voluptate","velit","esse","cillum","eu","fugiat","nulla","pariatur","Excepteur","sint","occaecat","cupidatat","non","proident","sunt","culpa","qui","officia","deserunt","mollit","anim","id","est","laborum"]]}
它看起来像一个JSON字符串。那很好,我可以处理,但我的请求中没有提到。有没有人有任何经验,让这个工作与塔架或一些东西,让我尝试?我知道spellchecker打算与PHP后端一起工作,但这不应该带来任何重大障碍,是吗
此外,任何人都能提供关于响应应该是什么样子的见解吗?这个插件的文档似乎非常不完整。这并不是你问题的答案,但我希望它能帮助你: 你也许有兴趣把它看作是灵感的源泉。拼写检查器基于PyEnchant算了吧:)原来它是在体内发送的。