@PitaJ I was able to do it by giving the nav button a unique ID in the ID section and then just controlling the tooltip/button action in JS under the custom JS section. Surprisingly easy to do as it turns out.
Default text in text panel..
Hello guys, it is possible to add default in the text panel? Just like "Enter your topic title here"
I tried to add
placeholder="I want to add somethin here"by a very stupid method， but where can I find the source file?...
MJ last edited by MJ
maybe the language file
here it is
the line is
"composer.title_placeholder": "Enter your topic title here...",if you change it and restart nodebb it would be working
@MJ I don't think that's the title placeholder, he wants to add a placeholder to the textarea. You want to override the highlighted line in this file:
And add a placeholder attribute with whatever you want.
Thanks, it works. Is it possible to add a line break in the placeholder?
<br/>does not work