PDA

View Full Version : VB text editor


Davidinh
10-13-2005, 06:45 PM
Hello vbb world,

With vbb 3.5 does is has or the way to integrate the external JS file into VB text editor (WYSIWSY)

Actually, i tried to integrate my typping tool into wysiwyg but no luck
I also have confused betweent 2 files js in clientscript folder
vbulletin_textedit.js and vbulletin_ajax_namesugg.js which one it very comtable to integrate it
in the previous version (3.0) i used vbulletin_wysiwyg.js
if yes would you please give some advice or suggestion all of them will be appreciated ,

regard,

Davidinh
10-16-2005, 08:53 PM
I have a js file for type tool
and i try to integrate into the file vbulletin_textedit.js

I try to add thismvHTML = true; ready = false; currElm = fetch_object(this.editorid + '_textarea"); anywhere around vbulletin_textedit.js

the type tool js it work but the page got error and all the buttons of wysiwyg are disable

two errors mess:
1. line: 936 (this.set_context(cmd);)
char: 1
error: Vb_Text_Editor is undefined

2. line: 218
char: 83
error: unterminated string constent

any idea or suggestion will be appreciate

regard,