Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] v2.20.0 sanitises by default #1631

Closed
dave5 opened this issue Apr 6, 2021 · 7 comments
Closed

[Bug] v2.20.0 sanitises by default #1631

dave5 opened this issue Apr 6, 2021 · 7 comments
Assignees
Labels

Comments

@dave5
Copy link

dave5 commented Apr 6, 2021

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/[email protected]"></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

@dave5 dave5 added the bug label Apr 6, 2021
@m-sergiy26
Copy link

The same problem.

1 similar comment
@fabian1896
Copy link

The same problem.

@gohabereg
Copy link
Member

Will be fixed by #1574

@tuantmtb
Copy link

tuantmtb commented Apr 8, 2021

:'(

@kaaaaaaaaaaai
Copy link
Contributor

The same problem. :::::(

@gohabereg
Copy link
Member

Fixed in v2.20.1

@adriangzz
Copy link

adriangzz commented Jan 4, 2022

This should be open again, happening on 2.22.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants