Skip to content

Commit

Permalink
XWIKI-20384: Use the new textarea restricted setup in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tmortagne committed Nov 18, 2022
1 parent 05dc331 commit d87d7bf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -87,7 +87,7 @@ protected void createClass(BaseClass xclass)
xclass.addNumberField("replyto", "Reply To", 5, "integer");

String commentPropertyName = "comment";
xclass.addTextAreaField(commentPropertyName, "Comment", 40, 5);
xclass.addTextAreaField(commentPropertyName, "Comment", 40, 5, true);

// FIXME: Ensure that the comment text editor is set to its default value after an upgrade. This should be
// handled in a cleaner way in BaseClass#addTextAreaField. See: https://jira.xwiki.org/browse/XWIKI-17605
Expand Down

0 comments on commit d87d7bf

Please sign in to comment.