Skip to main content
Nintex Community Menu Bar
Question

How to return a rich text field in the custom renderer

  • July 9, 2024
  • 4 replies
  • 6 views

Forum|alt.badge.img+4

Hi I’d like to create a UI only field with rich text editor. Is that possible in Skuid? The text area field does not render the CKEditor controls. I see there is editor property on Field. How do I set that to use CKEditor control?

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • 3766 replies
  • July 10, 2024

This topic has two questions: 
1. The UI only field of type “Text area” does not render a Rich Text field - rather it renders a long text field. 

The question about exposing the CKEditor contorls without having a RTF in the back end field is still open.  Question for tomorrow. 


Forum|alt.badge.img+18
  • 2192 replies
  • July 10, 2024

J…

Have you inspected the html on a real rich text field? There may be a way to enable CKeditor controls with jQuery by applying the same html/css to your textarea.


Forum|alt.badge.img+17
  • Nintex Employee
  • 3766 replies
  • July 10, 2024

You do need to add a little bit of Javascript to turn on the html editor in the rich text field.  Add an inline resource with the following code: 

(function(skuid){&nbsp; &nbsp; skuid.events.subscribe('skuid.models.initialized',function(){<br>&nbsp; &nbsp; &nbsp; &nbsp; skuid.$M('ModelName').getField('UIONLYFIELDNAME').htmlFormatted = true;<br>&nbsp; &nbsp; });<br>})(skuid);




Forum|alt.badge.img+4
  • Author
  • 27 replies
  • July 10, 2024

The only issue that I have right now is when I try to read the UI only text area field by row.ui_field, it always returns null. The value gets set from the custom field renderer and it shows on UI correctly.