I want a customized placeholder in #quick-search-query How can I do that? Current confluence version is 5.10
By default, when I inspect the #quick-search-query, I see this:
<input id="quick-search-query" class="text app-search search quick-search-query" accesskey="q" autocomplete="off" name="queryString" title="Quick Search (/or g , g)" placeholder="Search" type="text">
But the "Search
" placeholder does not appear. Why? Moreover I need to customize this. How can I do it?
You could write an own macro where you define the placeholders as parameters and within this plugin you call the quick-search-query inserting your placeholders.
I did something similar on this question for a different macro. (The last answer)
You could adapt from that
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.