The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add 'Format' to CKEditor
Hi all,
I am using VB 4.1.x and im trying to add formart and style to my CKEditor tried using google, looking at the website itself, couldnt find the way to add those 'already included' plugins to CKEditor Ive added a picture of CKEditors demo (from their website) of the 2 features im looking for Could anyone help out? Thanks, Amit |
#2
|
|||
|
|||
a clue would be nice
|
#3
|
||||
|
||||
Adding the buttons is the easy part:
hook location - editor_toolbar_filter PHP Code:
|
#4
|
|||
|
|||
CKEditor has been public for a while, Are you sure there is no available guide on how to enable all\part of its available plugins?
|
#5
|
|||
|
|||
Like Lynne said above, the problem is not enabling the features but integrating them with vb. I think the issue is that the CKEditor style and format features produce HTML, but vb saves posts as plain text with bbcode. So you can enable the style and format drop-down menus in the editor, but when you submit it the formatting will have to be converted to bbcode or else discarded.
|
#6
|
|||
|
|||
what if HTML was enabled in the thread/article
would that do the trick? |
#7
|
|||
|
|||
Well, I tried that and it still has problems, although I did get part of the colored text to post. So maybe what I posted above isn't the main problem, but I believe it has something to do with WYSIWYG to BBcode conversion.
|
#8
|
|||
|
|||
Is it possible to use true CKEditor with vbulletin and disable the one vb offers?
on that note, you might assist me on another matter, if i copy code that has tabs (or indents) WYS stips them, do you know a way to disable that strip? |
#9
|
|||
|
|||
I tried it and I see what you mean about tabs, but I don't know. I do know that in html all strings of white space get condensed to a single space, so I don't think there's any easy way to represent tabs, except maybe a string of $nbsp;? It's not really my area, I'm more of a programmer.
|
#10
|
|||
|
|||
but as you said vB uses plain text and should strip tabs as html does
in fact, it doesnt even add a space it just strips the tabs |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|