I have a custom meta box as part of my post editor. When the user changes the post title, I want to reflect this change in the content inside the meta box. I have seen plugins like Yoast do this but im not sure how.
I have tried using a jQuery event to do this but even if i wait for document.ready, it doesnt bind itself to the element.
jQuery(".editor-post-title__input").keyup(function(){
console.log(jQuery(".editor-post-title__input").val());
});