Hi everybody,
I've some problems with the smileys. I would like to use my own smileys. So I've configured the editor to take all pictures in a directory and put it to the SmileyImages array. Here is what I did :
var oFCKeditor = new FCKeditor('editor') ;
oFCKeditor.BasePath = '/fckeditor/' ;
oFCKeditor.Config["EditorAreaCSS"] = '/fckeditor_test/css/fck_editorarea.css' ;
oFCKeditor.Config["StylesXmlPath"] = '/fckeditor_test/css/fckstyles.xml' ;
oFCKeditor.Config["SmileyPath"] = '/fckeditor_test/medias/' ;
oFCKeditor.Config["SmileyImages"] = ['my list','of pictures','...'] ;
oFCKeditor.Width = '100%' ;
oFCKeditor.Height = '85%' ;
oFCKeditor.ToolbarSet = 'Web' ;
oFCKeditor.ReplaceTextarea() ;
But when I execute the editor, it takes not the pictures, it takes character by character (e.g. : not 'Picture.jpg' but 'p' 'i' 'c' 't' 'u' 'r' 'e' '.' 'j' 'p' 'g' --> one character is a picture).
Could someone help me ???
Thanks
I've some problems with the smileys. I would like to use my own smileys. So I've configured the editor to take all pictures in a directory and put it to the SmileyImages array. Here is what I did :
var oFCKeditor = new FCKeditor('editor') ;
oFCKeditor.BasePath = '/fckeditor/' ;
oFCKeditor.Config["EditorAreaCSS"] = '/fckeditor_test/css/fck_editorarea.css' ;
oFCKeditor.Config["StylesXmlPath"] = '/fckeditor_test/css/fckstyles.xml' ;
oFCKeditor.Config["SmileyPath"] = '/fckeditor_test/medias/' ;
oFCKeditor.Config["SmileyImages"] = ['my list','of pictures','...'] ;
oFCKeditor.Width = '100%' ;
oFCKeditor.Height = '85%' ;
oFCKeditor.ToolbarSet = 'Web' ;
oFCKeditor.ReplaceTextarea() ;
But when I execute the editor, it takes not the pictures, it takes character by character (e.g. : not 'Picture.jpg' but 'p' 'i' 'c' 't' 'u' 'r' 'e' '.' 'j' 'p' 'g' --> one character is a picture).
Could someone help me ???
Thanks