Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 25 Apr 2015, 15:28
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
OK, I think the problem has to do with the section in vbulletin_textedit.js that starts with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


That section tries to call a function queryCommandValue('fontsize'), which I guess returns the numeric value of the font size of the selected text (like you set in a <font> tag), but doesn't know how to return the value if the font size is being set by CSS. A possible solution seem to have something to do with selection ranges, but I couldn't figure it out in the few minutes I spent on it. I figured maybe you know more js and could figure it out.

Last edited by kh99; 25 Apr 2015 at 16:23.
Reply With Quote
  #17  
Old 26 Apr 2015, 07:57
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Yes, i'd seen that section but could not think of any ways to alternate the code. I posted a question @ stackoverflow and if i get an answer I will post here. Thanks.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 21:46.

Layout Options | Width: Wide Color: