I followed the 'sanitized saved data' section of the tutorial but it is not functioning
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start with the linked sanitized-saved-data guide and the simple-image-tutorial example, focusing on how the caption field is handled by the manual and automatic methods. Compare the saved caption output with the guide's expected sanitization behavior; done means the caption is sanitized as documented. The issue provides no specific file or test to start from.
Written by the indexing model from the issue text.
Description
I followed every step of the guide and all seemed ok but when it came to sanitizing saved data (page here) the data in the caption section would not get sanitized.
I tried both methods (manual and automatic) but any time I typed Here is <div> a </div> <i>caption</i> field the saved output would not be sanitized => "caption": "Here is <div> a </div> <i>caption</i> field"
I thought I have done something wrong and to check I ran the code of (the simple-image-tutorial) in this GitHub page but even in this code the caption does not get sanitized.
I doubt I have missed anything but please, let me know if I have.
Thank you for your work and this great step-by-step guide. It definitely makes development easier
- Dominant language
- JavaScript
- Stars
- 29
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from editor-js/simple-image-tutorial
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in editor-js/simple-image-tutorial
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
antfu-collective/icones#398 ·
-
ECmail.com Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
wesbos/burner-email-providers#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·