Closed jogibear9988 closed 4 years ago
Hi @jogibear9988
I decided not to enable font size selector because nested SPAN tags are not converted to Textile correctly. If you have a good solution, your pull request is welcome!
--- a/assets/javascripts/redmine_wysiwyg_editor.js
+++ b/assets/javascripts/redmine_wysiwyg_editor.js
@@ -290,7 +290,7 @@ RedmineWysiwygEditor.prototype._initTinymce = function(setting) {
};
var toolbar = (self._format === 'textile') ?
- 'formatselect | bold italic underline strikethrough code forecolor removeformat | link image codesample attachment | bullist numlist blockquote | alignleft aligncenter alignright | indent outdent | hr | table | undo redo | fullscreen' :
+ 'formatselect | fontsizeselect bold italic underline strikethrough code forecolor removeformat | link image codesample attachment | bullist numlist blockquote | alignleft aligncenter alignright | indent outdent | hr | table | undo redo | fullscreen' :
self._htmlTagAllowed ?
As Texttile Syntax allows to set Font-Size, could you also enable it in TinyMce?