Facing Issue with jodit editor when template involves foreach loop #1198
Unanswered
monisha01-art
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
scenario :
cshtml template will be fetched from sql db and displayed in UI screen using Jodit editor, in the editor , User can edit the template and on clicking on save button, the template will be updated in db.
Issue:
the cshtml template which contains foreach() loop, is completely changed by the editor ,causing failure while using the template on other functionality.
I have added the snippet and both before and after files , please help.
Actual template:
after template is displayed in jodit editor :(for this one, no changes has been done to the template, we just got template from db, displayed in jodit, and saved)
jodit_template.txt
actual_Template.txt
Beta Was this translation helpful? Give feedback.
All reactions