Default text in text panel..
-
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:
nodebb-plugin-composer-default/static/templates/composer.tpl at master · NodeBB/nodebb-plugin-composer-default
Default Composer for NodeBB. Contribute to NodeBB/nodebb-plugin-composer-default development by creating an account on GitHub.
GitHub (github.com)
And add a placeholder attribute with whatever you want.
-
Insert line break inside placeholder attribute of a textarea?
I have tried a few approaches but none worked. Does anyone know a the nifty trick to get around this? <textarea placeholder='This is a line \n this should be a new line'></textarea> <
Stack Overflow (stackoverflow.com)