[
https://issues.apache.org/jira/browse/OFBIZ-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946661#comment-17946661
]
ASF subversion and git services commented on OFBIZ-10093:
---------------------------------------------------------
Commit 0a3a8abd5f0ed6aa35feff6d6479af96240ee05c in ofbiz-plugins's branch
refs/heads/trunk from Florian Motteau
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=0a3a8abd5 ]
Improved: Adapt existing forms to Trumbowyg visual editor (OFBIZ-13224)
In OFBIZ-10093, the rich text editor elRTE was replaced by Trumbowyg, but the
visual-editor-buttons attribute on the textarea field was not adapted. The
Trumbowyg configuration is hard coded in OfbizUtil.js, instead of using this
attribute to control the editor functionalities :
https://github.com/apache/ofbiz-framework/blob/1cfef45f89d2714fef1a94729fa48f554be75c6e/themes/common-theme/webapp/common-theme/js/util/OfbizUtil.js#L149
We should either remove the visual-editor-buttons attribute, or use its value
to configure Trumbowyg.
Trumbowyg does not support presets like "basic" or "complete" (like elRTE
does), it needs a definition of toolbars as a 2 dimensions string array. We
could simply provide this array in visual-editor-buttons attribute, and pass it
to Trumbowyg.
> Replace ELRTE plugin with Trumbowyg
> -----------------------------------
>
> Key: OFBIZ-10093
> URL: https://issues.apache.org/jira/browse/OFBIZ-10093
> Project: OFBiz
> Issue Type: Improvement
> Components: ALL APPLICATIONS
> Affects Versions: Trunk
> Reporter: Aditya Sharma
> Assignee: Aditya Sharma
> Priority: Major
> Fix For: Upcoming Branch
>
>
> As there is no support for elrte since elrte-1.3
> [https://github.com/Studio-42/elRTE] it is to be replaced with some other
> good editor & we found Quill Js editor as quite suitable:
> * 139 releases
> * Good community support of 101 contributors
> * Licence - BSD 3-Clause "New" or "Revised" License
> Links for reference:
> [https://quilljs.com/]
> [https://github.com/quilljs/quill]
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)