Share via


How to enable Rich Text in Dynamics CRM using CKEditor

This post has been moved to a new site. Please update your links to this location instead:

https://hauge.cloud/2017/06/08/how-to-enable-rich-text-in-dynamics-crm-using-ckeditor/

Comments

  • Anonymous
    September 14, 2017
    Hi , This article to use the Rich text can u plz let me know why ur using the look up field in the code, I why we need to have the look up.\Thanks,Sabir
    • Anonymous
      September 15, 2017
      Hi Sabir - are you talking about this? var fieldsToReplace = ["company_textmodulebackingfield", "company_textmodule2backingfield"];The reason I used an array here was to enable replacing multiple fields with rich text boxes on the same page without needing to modify the code to do it.. Was that your question? If not, could you let me know which part of the code wasn't clear? I'm happy to help!
  • Anonymous
    October 06, 2017
    The comment has been removed
    • Anonymous
      October 08, 2017
      Hi Vittorio – yes, the code is incorrect now. I’m not exactly sure what happened, let me see if I can find the code and get this corrected… I’ll let you know as soon as it’s fixed!
      • Anonymous
        October 08, 2017
        I was just able to fix the code, let me know if you have trouble!
  • Anonymous
    December 10, 2017
    Hi,Thanks for your article, it's very helpfull.I got a problem when I had several rich text on the same form.Indeed, only the last field to replace is working well. I have two field to replace "acc_description", "acc_topline", when I made a modification in the first field, the form doesn't understand I made a change and the automatic saving is not triggered.The second one works correctly. Do you have an idea ?I didn't made any changes on your code.Thanks for you helpDotch.
    • Anonymous
      December 11, 2017
      Hi Dotch - unfortunately I don't have an environment anymore where I can debug the code to see if something isn't working correctly... Feel free to send me an email to peter hauge microsoft com and we can work something out. Thanks!
  • Anonymous
    March 18, 2018
    The comment has been removed
    • Anonymous
      April 16, 2018
      Hi Sally - sorry for the delay responding! I think we can accomplish what you're expecting with some adjustments in the javascript... Basically with some additional backing fields, in the callbacks on changes you can update both the HTML and text-based fields so you have both available. Please email me at p e t e r ( d o t ) h a u g e ( a t ) m i c r o s o f t ( d o t ) c o m , and we can discuss further.. Thanks!