Join Slack
Powered by
Hi, For some large fields with format I'd like to...
# suitescript
i
Itzco
07/23/2021, 8:23 AM
Hi, For some large fields with format I'd like to keep a plain text field but display it's content with Markdown. Have anyone tried? This would only affect display as input is plain text / no preview. Would it be possible with a client script? Display part of something like this:
https://blog.prolecto.com/2017/06/18/replace-netsuites-rich-text-editor-with-a-custom-html-editor/
With a Markdown lib:
https://github.com/showdownjs/showdown
or
https://www.npmjs.com/package/markdown-it
Thanks
b
battk
07/23/2021, 8:30 AM
you can usually do whatever you want clientside
battk
07/23/2021, 8:31 AM
the limit usually being how much dom manipulation you want to do
i
Itzco
07/27/2021, 6:27 AM
Thanks I'll give it a go
3
Views
Open in Slack
Previous
Next