Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

I followed the 'sanitized saved data' section of the tutorial but it is not functioning

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from editor-js/simple-image-tutorial

All issues in editor-js/simple-image-tutorial

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.