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

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

未关闭
#4 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
29
派生
22
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

从链接的 sanitized-saved-data 指南和 simple-image-tutorial 示例开始,重点关注手动方法和自动方法如何处理 caption 字段。将保存的 caption 输出与指南所预期的清理行为进行比较;当 caption 按文档所述完成清理时,即视为完成。该 issue 没有提供可作为起点的特定文件或测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。