![]() |
"select all" feature for BB Code : CODE/HTML/PHP
1 Attachment(s)
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 |
Good job, tagged for later
|
New update : fix bug : same phrase with CKEditor phrase in vBulletin 4.1.4.
Thank you, Getamped 1404. |
working fine in 4.1.3 :D
Thanks men :D tagged + installed + MOTM + 5 stars :D |
Quote:
You will be like next version with "copy to clipboard" feature. But, some bugs with flash file must be fix ! :confused: |
Ok, I'll wait it .. thanks so much.
|
Thank you very much, works perfectly 100%.
A major modification, pending the copy to clipboard very necessary for my forum Thanks again Marked as installed |
Quote:
Thanks for used, Getamped 1404. |
Thank you.
Just please do not forget the copy to clipboard. I love your modifications. regards |
Quote:
I need more time to update. Thanks, Getamped 1404. |
Thanks men :D I wait for the upgrade :D
|
This mod doesn`t work with my site. Error is "Parameter is not an object [Break On This Error] r.selectNodeContents(e); " Can you tell me how to fix it ?
Thank you, |
is this work with 3.8.7 thankx in advance...
|
Great job, I really appreciated this.
This really should be part of the default Vbulletin. Worked perfectly in 4.2.2:up: |
I am using VB 4.2.2
The code found in my (custom template) bbcode_code and bbcode_html are different than what you are instructed for find as below: Code:
<div class="bbcode_container"> What is the meaning for ....and..... between the code. Thanks in advance. |
it will work as i am running vbulletin 4.2.2
leave ....and..... replace only starting and ending code which he mentioned Regards, |
Thanks it is work with 4.1.7
|
Hi,
It does not work on my forum 4.2.3 :( Can somme one tell me where is the problem? Thank you :) https://vborg.vbsupport.ru/external/2016/06/5.jpg ----------------------------------- It's ok I found the problem :cool: I forgot a < in the beginning of the code :erm: |
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 ( |
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: PHP Code:
So the new Javascript in the headinclude is PHP Code:
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 |
Hello can be fix this to work ?
|
CSS4 solution:
Code:
.selectable{ Read more on user-select here on MDN and play with it here in w3scools Source |
No work at 4.2.5
|
All times are GMT. The time now is 06:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|