Hello,
I would like a modification of the quick quote script (from this tutorial) so that if nothing is selected, the quote button works exactly as usual (i.e: quoting all the text and going to full reply), and if any text is selected, it quotes the selection to quick reply.
I am aware I could achieve this by having two different buttons for quote and quick-quote, but I'd prefer it to be as I've explained to make it simpler, especially for new users who might not get what the different buttons are for.
Could anyone help me with this, please?
I would like a modification of the quick quote script (from this tutorial) so that if nothing is selected, the quote button works exactly as usual (i.e: quoting all the text and going to full reply), and if any text is selected, it quotes the selection to quick reply.
I am aware I could achieve this by having two different buttons for quote and quick-quote, but I'd prefer it to be as I've explained to make it simpler, especially for new users who might not get what the different buttons are for.
Could anyone help me with this, please?