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

Top Replies

Parents
  • Any one can help me on this upload file issue in Rich text editor?  can you please look into this?

  • What is the full version of Community you are using (from Administration > About)?

    Could you identify more details about the upload file issue? Is this a separate issue from the preview issue this thread was started with?

  • 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.
  • File Upload Option Issue: Whenever using below code, File upload option is not available under Insert dropdown.

    File uploading is subject to the content type being edited and content filtering rules. A content type must be provided to the $core_v2_editor.Render() that supports file embedding and enables file embedding through content filtering configuration.

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

    This was a bug fixed in 11.1.0.9731

Reply
  • File Upload Option Issue: Whenever using below code, File upload option is not available under Insert dropdown.

    File uploading is subject to the content type being edited and content filtering rules. A content type must be provided to the $core_v2_editor.Render() that supports file embedding and enables file embedding through content filtering configuration.

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

    This was a bug fixed in 11.1.0.9731

Children