editor-js / editor-js/simple-image-tutorial

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
Dominant language
JavaScript
Stars
29
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I followed every step of the guide and all seemed ok but when it came to sanitizing saved data ([page here)](https://editorjs.io/sanitize-saved-data) the data in the caption section would not get sanitized.

I tried both methods (manual and automatic) but any time I typed `Here is

a
caption field` the saved output would not be sanitized => `"caption": "Here is
a
caption field"`

I thought I have done something wrong and to check I ran the code of [(the simple-image-tutorial)](https://github.com/editor-js/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

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.