taqueci / redmine_wysiwyg_editor

Redmine WYSIWYG Editor plugin
GNU General Public License v2.0
115 stars 27 forks source link

Spellchecking #80

Closed Daeloran closed 4 years ago

Daeloran commented 4 years ago

Hello,

Is it possible to add spellchecking functionnality for the WYSIWYG mode ? Or maybe it's already here but in this case it doesn't work on redmine 4.0 for me.

Thank you

Nicolas

taqueci commented 4 years ago

Hi @Daeloran ,

Thank you for your suggestion. I will consider it.

You can enbale by adding browser_spellcheck: true to initialization parameter:

--- a/assets/javascripts/redmine_wysiwyg_editor.js
+++ b/assets/javascripts/redmine_wysiwyg_editor.js
@@ -399,6 +399,7 @@ RedmineWysiwygEditor.prototype._initTinymce = function(setting) {

   tinymce.init($.extend({
     // Configurable parameters
+    browser_spellcheck: true,
     language: self._language,
taqueci commented 4 years ago

https://www.tiny.cloud/docs-4x/configure/spelling/#browser_spellcheck

taqueci commented 4 years ago

Spell checker has been enabled.