View Single Post
  #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