Technically, translation is there, there just aren't any tables for it yet.
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?... -
maybe the language file
NodeBB/public/language/en-US/
orNodeBB/public/language/en-GB/
here it is
NodeBB/public/language/en-US/topic.json
clickthe 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 -