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

EditorJS extension triggers a field update upon view #34

Closed
mark-james opened this issue Jun 9, 2022 · 3 comments
Closed

EditorJS extension triggers a field update upon view #34

mark-james opened this issue Jun 9, 2022 · 3 comments

Comments

@mark-james
Copy link

Hi Adrian,
Great job on this extension.
When I got to a page with this extension, it triggers the need for an update when just viewing. On inspection, it's caused because EditorJS updates the 'time' variable within the JSON output.

{
"time" : 1550476186479,
"blocks" : [],
"version" : "2.8.1"
}

Do you know of a way of disabling this behaviour?

Thanks
Mark

@bamboowonder
Copy link

confirmed this is happening for me as well on 9.12.2
and great extension btw. thank you.

@dimitrov-adrian
Copy link
Owner

Yes, indeed. Sometimes the editorjs tends to trigger update even no real update of the content is happened, and it then touch the time only, which is itself is a value change for directus.

I'll try to find what causing this kind of touches.

@dimitrov-adrian
Copy link
Owner

Fixed in latest release

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

3 participants