How-to and Troubleshooting
4
Posts
2
Users
0
Reactions
1,810
Views
Jul 29, 2020 5:00 pm
I can't figure out a way to do this.
Thank you.
3 Replies
Jul 30, 2020 8:29 am
Hi @questions2020,
In case if the Rich Editor is enabled you can use the following CSS code:
.wpd-secondary-form-wrapper .ql-editor.ql-editor:before {
content: "changed";
}
Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.
Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.
In case if the Rich Editor is disabled you should use the jQuery code below
jQuery('#wpdcom .wpd-secondary-form-wrapper textarea').attr('placeholder', "changed");
This article may be helpful for you: https://www.collectiveray.com/add-javascript-to-wordpress
More info about the Rich Editor option can be found here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-form/#load-rich-editor