Add target option to LinkUpdated: October 4th, 2018
Created: 10/01/14v 6.10.3
Have made a copy of the quicktags plugin >> _myhtmltags.plugin.php
Removed a few header comments and the modified line is now
Line 446
See below for former hack
Links:
I have added a prompt to request a target when creating links. I have made [_self] the default value.
There is no need to enter the underscore [_], that is hard coded, so any target value will be prefixed with an underscore. So just need to enter 'blank' for example
/plugins/_qucktags.plugin.php
Line 451 in versions: 6.9.3 to 6.10.2
From:
PHP
b2evoButtons[i].tagStart = '<a href="' + URL + '">'; |
To:
PHP
b2evoButtons[i].tagStart = '<a href="' + URL + '" target="_'+ prompt('target','self') + '">'; |