Jump to content

Customize Markdown Editor (not using CSS)


cdeese8

Recommended Posts

Might you know if it's possible using a hook to customize the Markdown Editor that appears on pages like New Ticket?

May you please help me customize the MD Editor for WHMCS 7.1*?

Using the standard template, I'm not able to hunt down any docs or tips to tweak the layout. So for example, I would like the MD Editor Toolbar to be at the bottom of the <textarea> instead of at the top.

Another thing I would like to do is customize the tooltips or even icons.

Link to comment
Share on other sites

have you tried opening a ticket with Support about this? this may be another situation, like TinyMCE, where something fundamental is in an encoded file somewhere.

I can see in the js code in scripts.min.js (both admin and client) that the markdown header is set to add a toolbar - but even if you a) remove it from there, and b) add it to the markdown footer - nothing happens.

that immediately implies to me (unless i'm missing something obvious), that the markdown settings could be being initially set in an encoded file.

if so, I would do one of two things (or both!)... i'd open a ticket with Support (unless one of the devs see this thread and reply to it) and see whether what you want to do is possible... or i'd go direct to the developer of the Markdown editor used in WHMCS (Michel Fortin) and see if it can be done.. but as I said, if a setting is in an encoded file, to do what you want might not be possible.

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