Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2013, 03:07 PM
thunderclap82 thunderclap82 is offline
 
Join Date: Nov 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Manually Update CKEditor?

I've dealt with a bug in vBulletin for almost two years, one other have experienced and one that is extremely annoying. The bug has been in the vB tracker for that entire time, has been voted on, yet vB has done nothing to fix it. They haven't even assigned it to anyone.

The bug seems to be CKEditor itself and affects webkit browsers such as Chrome and Safari. Basically, if you type something into the editor, then switch to bold, italics, etc. and then use backspace, the cursor jumps back a word or two before deleting text. I've talked to vB support about this and all they say is that they'll get to it if they feel it necessary, though after two years I'm guessing it won't be resolved.

So several questions: has anyone else experienced this and fixed it? If so, how? Is there anyway to manually update CKEditor manually without breaking vB? (I asked this of vB support and they said no as the CKEditor code used in vB is customized and just updating the editor will break vB.) I'm hoping some crafty programmer has found a way to do this.

I appreciate any insight someone might have in helping resolve this issue.
Reply With Quote
  #2  
Old 11-28-2013, 03:38 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to confirm. When adding bold, italic, underline tags you immediately press back-arrow (as backspace would delete the words since the area is highlighted). It then traverses left till it finds a ']' bracket and then jumps to the right most bracket '[' on the second back-arrow. It only does this in 'edit' mode. On my system Firefox v25 did the same thing. Note: you do not actually see the brackets since it is in editor mode, but pretend they are there per this example.

Can you confirm this is what you are seeing?
Reply With Quote
  #3  
Old 11-28-2013, 04:36 PM
thunderclap82 thunderclap82 is offline
 
Join Date: Nov 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Just to confirm. When adding bold, italic, underline tags you immediately press back-arrow (as backspace would delete the words since the area is highlighted). It then traverses left till it finds a ']' bracket and then jumps to the right most bracket '[' on the second back-arrow. It only does this in 'edit' mode. On my system Firefox v25 did the same thing. Note: you do not actually see the brackets since it is in editor mode, but pretend they are there per this example.

Can you confirm this is what you are seeing?
Not quite. I'm not talking the back arrow but backspace. Say you're typing in bold, italic or underline and make a mistake and need to delete it, the cursor jumps back. I'm linking to a video capture to highlight what I'm talking about.

Also, I'm running the latest version of vBulletin. I've also tried disabling all my plug-ins and using the default vBulletin style. Neither of these things resolve the problem. vB support seems to think it's a CKEditor bug.

Bug Example on YouTube
Reply With Quote
  #4  
Old 11-28-2013, 06:02 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the video, I see what you are saying and I will at least take a further look at it tonight to see what it is doing.
Reply With Quote
  #5  
Old 11-30-2013, 05:02 PM
thunderclap82 thunderclap82 is offline
 
Join Date: Nov 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any luck?
Reply With Quote
  #6  
Old 11-30-2013, 05:45 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thunderclap82 View Post
Any luck?
I will take a look at this, but have not had the time as of yet. A few other requests I have to get done before this one. I will get back to you.
Reply With Quote
  #7  
Old 11-30-2013, 08:00 PM
thunderclap82 thunderclap82 is offline
 
Join Date: Nov 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
I will take a look at this, but have not had the time as of yet. A few other requests I have to get done before this one. I will get back to you.
Sounds good. I just wanted to make sure you hadn't forgotten to to respond letting me know you hadn't had any luck. No pressure, and I appreciate the help.
Reply With Quote
  #8  
Old 11-30-2013, 09:01 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I try to take on jobs that help the most people on the site here. The real question here is weather the code has to be altered in the CKEditor or just the vbulletin plugin code. If it is just the vbulletin plugin code, I can probably come up with a patch. I am not sure I would have the time to sift through the CKEditor code. My first check will be at the CKEditor site to review their bug reports.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:40 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
  • Page Generation 0.08945 seconds
  • Memory Usage 2,226KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete