Page 1 of 1

how does function javascript in WYSIWYG-editors?

Posted: Mon Feb 26, 2007 10:23 am
by ayko
Hi all,

i`m an newbie in javascript. And i want to customize my xinha-editor for my personal use.

But i didn't understand how the Editor works.

I think, that my WYSIWYG-actions will be "translated" to html-code.

Which file translate my actions to the textarea??

Especially where can i look for the the string-output of the image-manager, which compile the code like this

Code: Select all

<img src="/somewhere/myimages/test.jpg" width=100 height=200>
.

(pre)thank you, for your help
Ayko

Re: how does function javascript in WYSIWYG-editors?

Posted: Mon Feb 26, 2007 10:28 am
by garvinhicking
Hi!

What do you want to customized? A WYSIWYG editor does not easily support for you to add custom HTML - they are made to transform all your inputs into HTML, and thus would escape javascript.

For Xinha customization, you might want to visit xinha specific forums.

HTH,
Garvin

Posted: Mon Feb 26, 2007 10:36 am
by ayko
I want customize the html-output of the imagemanager.

But i only need the js-file or function which do this?!?

Bye
Ayko

Posted: Mon Feb 26, 2007 10:39 am
by garvinhicking
Hi!

Sadly I don't know anything about xinha, but maybe you can search all of Xinhas file for the occurence of '<img>'?

Otherwise, the developers of Xinha might help you on their forums.

HTH,
Garvin