Hi all,
One of our customer expressed the need for a rich text editor. I check
the current implementation of this feature in OFBiz and quickly found
<textarea visual-editor="true" visual-editor-buttons="..."/>
...which triggers https://alex-d.github.io/Trumbowyg/ on the textarea
(introduced by https://issues.apache.org/jira/browse/OFBIZ-10093).
However, the visual-editor-buttons attribute is not used in
OfbizUtil.js, and we cannot define which buttons we want to enable
(checking older versions, it seems that it was possible when the library
used was elrte.js).
Wouldn't it be nice to use the attribute to control the Trumbowyg
instance ? Or maybe there was a good reason to stick to a static
configuration (in that case it could be a good idea to remove this
useless attribute) ?
I would be happy to work on this feature and submit a PR, maybe
reopening OFBIZ-10093 ?
Regards
Florian