Rich text Editor Preview issue?

Hi,

I am trying to see text in preview mode but it is giving me error with below code:

$core_v2_editor.Render('PostBody', "%{Width='100%', Height='300px', Value=$body, ContentTypeId = $core_v2_forumThread.ContentTypeId}")

If I'm using normal code without optional fields it is working but with below code: 

$core_v2_editor.Render('PostBody')

This is working but not able to see File upload option under "Insert image/video/file".


Please help me out on this.

Thanks,
Rahul

Parents Reply
  • Thanks  for reply.. :)

    The version I'm using is 10.3.4.9982




    Actually there are two issue mentioning below:

    1. File Upload Option Issue: Whenever using below code, File upload option is not available under Insert dropdown.
       
      $core_v2_editor.Render('PostBody')


    2. Preview issue:  Text is not visible via using below code and showing below error respectively.

      $core_v2_editor.Render('PostBody', "%{Width='100%', Height='300px', Value=$body, ContentTypeId = $core_v2_forumThread.ContentTypeId}")




      When I checked Exception, there is no such exception logged for this error.
Children