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

loading the embed plugin causes onChange in the editor #118

Open
qbabooba opened this issue Jan 16, 2024 · 1 comment
Open

loading the embed plugin causes onChange in the editor #118

qbabooba opened this issue Jan 16, 2024 · 1 comment

Comments

@qbabooba
Copy link

Steps to replicate

use previously saved data object with any embeded content
load the objecy using render() in the editor
as soon as object is rendered, the onChange will trigger in the editor.js

this is causing unnecesary trigger of saving functions due to errorenous onChange initiated by the embed plugin

@tawissus
Copy link

tawissus commented Mar 8, 2025

I also have this problem. At the moment I would like to display a note for saving when something has been changed in the editor and the page is left.

Unfortunately, the logic does not work if the time is adjusted when loading content (e.g. YouTube video).

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

No branches or pull requests

2 participants