Replies: 1 comment
-
Looking at the code, it appears that the
It looks for the first and last elements in the elements with the However, as far as the You might try the following selector to refer to each
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm creating my first custom block for wordpress which must add two buttons and I need to insert the link of the two buttons. But after updating the post the link is saved, however if I enter the post again to edit, the link appears empty, it does not retrieve the link saved in the database. See my edit.js code
And my code in save.js
In summary, if I save the link and publish it, when opening the post the links that were saved appear normally. But if I need to edit such links and go to edit post, the links appear empty. If I insert a new link it updates correctly. But I need to edit the link already saved before, because the way it is can confuse editors.
Can anyone help me to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions