Question T17094
Visible to All Users

Allow convert value from string to html in translations/logic/themes tab (React)

created a year ago

Hello!

Clipboard-File-1.png
Clipboard-File-2.png

I'd like to show the rendered HTML markup on other tabs as well. How do I handle it?

Answers approved by surveyjs Support

created a year ago

Hello,
You need to attach the survey.onTextMarkdown event to different survey instances which are created in different SurveyJS Creator tabs. To handle this, implement the creator.onSurveyInstanceCreated event, check the options.reason parameter and attach the onTextMarkdown event to required options.survey instances.

Please let me know if you require further assistance.

    Show previous comments (1)

      Hi Jordan,
      I'm afraid that the Translation table doesn't allow formatting cell text. The Translation table allow users to modify translations for survey texts. However, the Translation table doesn't contain inplace Rich Text editors which would allow users to modify the text while preserving Markdown tags.

      As an option, you can register a rich text property grid editor and allow users to translate survey texts within the Designer tab using the corresponding property editors.

      Let me know if you have further questions.

        I see. That's unfortunate. Thanks a lot, though.

          No problem, Jordan. Please feel free to contact us if you have further questions.