question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] v2.20.0 sanitises by default

See original GitHub issue

The output of v2.20.0 has html tags removed by default. This does not happen with 2.19.3.

Steps to reproduce:

  1. Use example.html and set script for editor to <script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>

  2. Format some of text using basic HTML:

html 2 20 0

  1. click ‘editor.save()’ button to generate JSON:

json 2 20 0

  1. revert script for editor to <script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@2.19.3"></script>

  2. Format some of text using basic HTML:

html 2 19 3

  1. click ‘editor.save()’ button to generate JSON:

json 2 19 3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kaaaaaaaaaaaicommented, Apr 9, 2021

The same problem. ::::😦

1reaction
gohaberegcommented, Apr 7, 2021

Will be fixed by #1574

Read more comments on GitHub >

github_iconTop Results From Across the Web

Questions API Release Log - Learnosity Reference
Fixed a bug causing Questions API to fail in validating Question types like association correctly, when the possible responses contained invalid HTML data....
Read more >
Ubuntu 20.04 - multicast counter is not increased in ip -s
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the...
Read more >
Firebase Apple SDK Release Notes - Google
Fixed default display bug in apps that don't use UISceneDelegate (#6803). ... Fixed a memory access error discovered using the sanitizers in Xcode...
Read more >
Security Advisories for Firefox - Mozilla
Moderate Vulnerabilities that would otherwise be High or Critical except they only work in uncommon non-default configurations or require the user to perform ......
Read more >
Release notes for 3.4 (honister) — The Yocto Project ® 4.0.1 ...
New SDKPATHINSTALL variable decouples default install path from built in path ... ffmpeg: correct LICENSE to “GPLv2+ & LGPLv2.1+ & ISC & MIT...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found