Question T2081
Visible to All Users

ckeditor in correctAnswer

created 6 years ago

Hello,

It is possible to add ckeditor in correctAnswer property for comment questions ?

Thanks in advance for your help.

Comments (2)

    Hello,

    In order to render control to input the default value and correct answer we create a new survey with the current question type and use the rendered survey with this single question to get the value. The only available way to customize this editor is to create a custom widget for the comment question. In this case this widget can be uses in survey creator as well in survey. Does it cover your scenario?

    Thanks, Serge
    SurveyJS Team

      Hello,

      Yes, it covers but I am not sure of how to implement it, should it base on ckeditor custom widget example ?

      Thanks you so much.

      Answers approved by surveyjs Support

      created 6 years ago

      Hello,

      We've made live example for you. Here is the plunker https://plnkr.co/edit/7oR4TTxWM4urhVTvQ0oX?p=preview.
      Does it fit your needs?

      Thanks, Dmitriy
      SurveyJS Team

        Comments (1)

          Hello,

          That is exactly what I needed.

          Thank you very much.