Hi,
Now I don't really know if I'll be able to get an answer here, but I hope I do.
I'm developing my own, WYSIWYG editor. The reason because of that is just that I want to learn and understand this much better, and also I want to expand my knowledge on JavaScript etc...
The problem at the moment is this. I would like to know if it's possible to change the output HTML i get from my iframe. Because when I now make something bold for example. The iframe gives me this HTML code for it
I don't really like that, I would rather want something like this
The question is, am I able to change the output HTML of the iframe, and if so... how can I do this. Or can I only change the ouput of the iframe after i've send it, and then I'll probably need to use regular expressions or so.
I hope you guys of FCK want to help me out with this. I know this is probably inside info of the FCK editor, but really ... When i'm searching in your .js files, it's really to complicated for me to understand.
Thanks in advace!
Now I don't really know if I'll be able to get an answer here, but I hope I do.
I'm developing my own, WYSIWYG editor. The reason because of that is just that I want to learn and understand this much better, and also I want to expand my knowledge on JavaScript etc...
The problem at the moment is this. I would like to know if it's possible to change the output HTML i get from my iframe. Because when I now make something bold for example. The iframe gives me this HTML code for it
<span style=\"font-weight: bold;\">my written text</span>
I don't really like that, I would rather want something like this
<b>my written text</b>
The question is, am I able to change the output HTML of the iframe, and if so... how can I do this. Or can I only change the ouput of the iframe after i've send it, and then I'll probably need to use regular expressions or so.
I hope you guys of FCK want to help me out with this. I know this is probably inside info of the FCK editor, but really ... When i'm searching in your .js files, it's really to complicated for me to understand.
Thanks in advace!