Jump to content

Anyone else having an issue with the preview option on support tickets


HostworX

Recommended Posts

If we create a new support ticket using the new options and then preview it the preview is blank. I did see the option working on a different site so i know our one is not working, we have even installed a brand new copy copy of 6.3.1 and tried various php versions same issue. I have reported it but wanted to see if anyone else was having an issue. this is the new markdown editor when editing tickets and client notes..:?::?:

Link to comment
Share on other sites

Hello,

 

Is this on the client template or admin template? if it's a issue with your client template ensure your template has the following code in the <head></head> section:

 


{if !empty($loadMarkdownEditor)}
   <!-- Markdown Editor -->
   <link href="{$BASE_PATH_CSS}/bootstrap-markdown.min.css" rel="stylesheet" />
   <script src="{$BASE_PATH_JS}/bootstrap-markdown.js"></script>
   <script src="{$BASE_PATH_JS}/markdown.min.js"></script>
   <script src="{$BASE_PATH_JS}/to-markdown.js"></script>
   {if !empty($mdeLocale)}
       {$mdeLocale}
   {/if}
{/if}

Link to comment
Share on other sites

  • 3 weeks later...
If we create a new support ticket using the new options and then preview it the preview is blank. I did see the option working on a different site so i know our one is not working, we have even installed a brand new copy copy of 6.3.1 and tried various php versions same issue. I have reported it but wanted to see if anyone else was having an issue. this is the new markdown editor when editing tickets and client notes..:?::?:

 

I've been having a similar problem on our install as well. The content shows up blank after you click the preview button. If the content is short then it seems to work correctly. I suspect the URL in the GET request is too long. When sending that much content to the server it should really do a POST request. It violates the RESTful way of doing things but there not much that can be done about it when (Apache|Nginx|etc) refuses to cooperate.

 

I posted a separate thread about how I debugged the issue. It is currently awaiting moderation but it has an explanation of how I successfully tested the preview with a POST request using the browser console.

Link to comment
Share on other sites

I posted a separate thread about how I debugged the issue. It is currently awaiting moderation but it has an explanation of how I successfully tested the preview with a POST request using the browser console.

you mean the thread below...

 

http://forum.whmcs.com/showthread.php?114138-Long-Markdown-Previews-are-broken-when-using-Ajax-GET-It-should-do-a-POST-instead

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated