如何在django中使用tinyMCE作为自动拼写检查器?

时间:2021-07-21 17:28:15

Is there any option for automatic spell checker( while typing) in tinymce?.

在tinymce中有自动拼写检查功能吗?

3 个解决方案

#1


1  

Try adding a javascript code that sets the spellcheck value to "true" after the TinyMCE editor loads.

尝试添加一个javascript代码,在TinyMCE编辑器加载后将拼写检查值设置为“true”。

#2


0  

This looks like it: http://www.tinymce.com/wiki.php/Plugin:spellchecker

看起来是这样的:http://www.tinymce.com/wiki.php/Plugin:spellchecker

These look less useful:

这些看起来不那么有用的:

http://www.tinymce.com/wiki.php/Configuration:gecko_spellcheck http://www.tinymce.com/wiki.php/Plugin:iespell

http://www.tinymce.com/wiki.php/Configuration:gecko_spellcheck http://www.tinymce.com/wiki.php/Configuration:iespell

#3


0  

Assuming you're using django-tinymce, it should be a matter of turning the plugin on in TINYMCE_DEFAULT_CONFIG. Then you can place the button where you want it. For example:

假设您正在使用django-tinymce,那么应该在TINYMCE_DEFAULT_CONFIG中打开插件。然后你可以把按钮放在你想要的地方。例如:

'theme_advanced_buttons2': "allmystuff,...,spellchecker",
'plugins': "abunchofplugins,...,spellchecker",

This assumes a folder named "spellchecker" under /tinymce/plugins which is available in your static files somewhere.

这里假设有一个名为“spellchecker”的文件夹,它可以在您的静态文件中找到。

#1


1  

Try adding a javascript code that sets the spellcheck value to "true" after the TinyMCE editor loads.

尝试添加一个javascript代码,在TinyMCE编辑器加载后将拼写检查值设置为“true”。

#2


0  

This looks like it: http://www.tinymce.com/wiki.php/Plugin:spellchecker

看起来是这样的:http://www.tinymce.com/wiki.php/Plugin:spellchecker

These look less useful:

这些看起来不那么有用的:

http://www.tinymce.com/wiki.php/Configuration:gecko_spellcheck http://www.tinymce.com/wiki.php/Plugin:iespell

http://www.tinymce.com/wiki.php/Configuration:gecko_spellcheck http://www.tinymce.com/wiki.php/Configuration:iespell

#3


0  

Assuming you're using django-tinymce, it should be a matter of turning the plugin on in TINYMCE_DEFAULT_CONFIG. Then you can place the button where you want it. For example:

假设您正在使用django-tinymce,那么应该在TINYMCE_DEFAULT_CONFIG中打开插件。然后你可以把按钮放在你想要的地方。例如:

'theme_advanced_buttons2': "allmystuff,...,spellchecker",
'plugins': "abunchofplugins,...,spellchecker",

This assumes a folder named "spellchecker" under /tinymce/plugins which is available in your static files somewhere.

这里假设有一个名为“spellchecker”的文件夹,它可以在您的静态文件中找到。