Skip to main content
Question

How do I get a PXRichText edit box to default to preview instead of Visual mode?

  • 11 June 2022
  • 0 replies
  • 47 views

I found code to change a textedit box to a RichTextEdit box which I am using to display a photo of an inventoryitem along with the web link to that image.  It’s working well except that the richtextedit box is defaulting to Visual mode which means to view the larger image by clicking the link you have to click Go To Url or change the mode to Preview.

Is there a way to default the RichTextEdit to Preview mode initially?  Also is there a way to hide the controls to edit the contents or make it read only?  It’s not a database linked field so no edits will stick anyway and it’d be cleaner and less confusing to not have those controls visible.

 

Thanks for any advice,

 

Phil

0 replies

Be the first to reply!

Reply