MyBB Community Forums

Full Version: [font][/font] MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello folks,
Well, I use ckeditor on my board, and today I discovered an annoying issue with it. When I selecting a font face, the tag coming in the source code is TEXT
Where the actual mybb format is text
For this reason the font face are not working properly in my forum. It directly showing the mycode.
So, can anybody help me, that how to fix this issue from ckeditor plugin source code or
tell me the mycode of:
text

So that I can add it manually.

Also please no one suggest me to use : http://mods.mybb.com/view/sceditor-wysiwyg-editor Plugin.
I already used it. It is good but having some conflict with my other forum code. So dont want to use it.

So can anybody answer me that how to solve my issue?

Resolved the problem. It is in ckeditor.js
If you also face the same issue, open up ckeditor.js and find this line:

'font-family'&&(q=q.replace(/["']/g,''));

and replace the

"'

and make it like this:

'font-family'&&(q=q.replace(/[]/g,''));