I need two different placeholders on new topic and reply body fields

I need to explain different things in NEW TOPIC > BODY field and REPLY > BODY field even if they are the same element. I need to use different placeholders.

What I tried is to change one of them with some javascript added at the end of the footer customisation with something like below, but I couldn’t make it through.

< script>
document.querySelector(‘.reply-area .with-tags .d-editor-input’).placeholder = ‘Listeniz için en az 20 karakterlik bir açıklama girin.’
< /script>

Can anybody help?

Sorry to bump this old topic but replying as we now have a solution.
We have developed this theme component that should meet this need.

3 Likes