![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||
"select all" feature for BB Code : CODE/HTML/PHP
![]() Developer Last Online: Jan 2019 ![]() ![]() ![]()
About this modification :
This mods template allows you added to the BB Code CODE / HTML / PHP function selects all the content in it with a simple button.Install :
If you don't want to create new phrase (step 5), you can search for : {vb:rawphrase select_code} and replace with select all Download Now Only licensed members can download files, Click Here for more information. Show Your Support
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Mini Mods Use"HTML" code for ADMIN | semauae | vBulletin 3.7 Add-ons | 10 | 02 Nov 2008 21:09 |
#16
|
||||
|
||||
it will work as i am running vbulletin 4.2.2
leave ....and..... replace only starting and ending code which he mentioned Regards,
__________________
The following members like this post: BCP Hung
|
#17
|
|||
|
|||
Thanks it is work with 4.1.7
No members have liked this post.
Last edited by RedHacker; 06 Jun 2016 at 15:07. |
#18
|
|||
|
|||
Hi,
It does not work on my forum 4.2.3 ![]() Can somme one tell me where is the problem? Thank you ![]() ![]() ----------------------------------- It's ok I found the problem ![]() ![]() No members have liked this post.
Last edited by john7911; 15 Jun 2016 at 12:27. |
#19
|
|||
|
|||
This stopped working in Chrome just recently
Works fine in Edge and cellphone browser Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 18125. at selectAll ( No members have liked this post.
|
#20
|
||||||||
|
||||||||
Update:
Select All works in Chrome Version 57.0.2987.133 (64-bit) Stopped working after update to Chrome Version 58.0.3029.96 (64-bit) Problem: the last parameter to the "setBaseAndExtent" shouldn't be the text length, it should be the child node count. https://developer.mozilla.org/en-US/...tBaseAndExtent I'm not versed enough in Javascript enough to fix this properly. What does make this work is by removing the following:
and the } after the else So the new Javascript in the headinclude is
Hope this helps someone. If there's anyone who can post the correct java solution without removing any code that would be great. My vB is 4.2.4 btw The following members like this post: sub_ubi
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 09:55.