1 JavaScript - Quick-reply box default text Fri Apr 20, 2012 1:45 am
RSguideMaker
Registered Member
This is my first tutorial! Please tell me what you think!!
This code works for all versions and WYSIWYG editor must be turned off in order for you to see the default text.
All Versions:
1. Go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on! -> Create a new JavaScript -> Title it whatever you want -> Select "In all Pages" (For every reply box) or select "In the topics" (For the quick reply box only) -> Paste:
Replace "Your Text Here" with whatever you want, but you must keep the quotation marks.
For example:
2. Hit save and you're done!
This code works for all versions and WYSIWYG editor must be turned off in order for you to see the default text.
All Versions:
1. Go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on! -> Create a new JavaScript -> Title it whatever you want -> Select "In all Pages" (For every reply box) or select "In the topics" (For the quick reply box only) -> Paste:
- Code:
$(document).ready(function(){
document.getElementById('text_editor_textarea').placeholder = "Your Text Here";
});
Replace "Your Text Here" with whatever you want, but you must keep the quotation marks.
For example:
- Code:
$(document).ready(function(){
document.getElementById('text_editor_textarea').placeholder = "Type your message then click send to post!";
});
2. Hit save and you're done!