How to enabling "safe html" in the description textarea of the validating-string-parameter-plugin?
86 views
Skip to first unread message
martinda
unread,
Jan 23, 2015, 9:15:00 PM1/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
The textarea for the description of the String Parameter supports HTML. How do I modify the code in the validating-string-parameter-plugin to obtain the same HTML support in the plugin description textarea? My attempt is not successful: https://github.com/martinda/validating-string-parameter-plugin/compare/safehtml
Can someone help?
Thanks, Martin
martinda
unread,
Jan 25, 2015, 9:57:17 PM1/25/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
Thanks to danielbeck, the part I was missing was to use the codemirror-mode: <f:textareaname="parameter.description" value="${instance.description}" codemirror-mode="${app.markupFormatter.codeMirrorMode}" codemirror-config="${app.markupFormatter.codeMirrorConfig}" previewEndpoint="/markupFormatter/previewDescription" />