can't see the "submit button" with text editor
Posted: Fri Nov 09, 2007 12:11 pm
Hello,
I'm writing a component, and I used the rich text editor (tinymce, gck etc etc) but i cant display the submit button!
when I use the same editor in another component it works fine, when I try the same in my component it disappear...
I'm using this code:
I' also try with a classic but something happens to images. It works fine with text and html, but image urls is wrong, so I cant display images using the standard html button.
I think I MUST use the javascript code, but how? and why i can't see the submit button? (I think is that one which looks like a floppy disk...)
Any idea???
I'm writing a component, and I used the rich text editor (tinymce, gck etc etc) but i cant display the submit button!
when I use the same editor in another component it works fine, when I try the same in my component it disappear...
I'm using this code:
Code: Select all
<script language="javascript" type="text/javascript">
function submitbutton(pressbutton) {
<?php getEditorContents( 'editor', 'message' ); ?>
submitform( pressbutton ); // CAN'T SEE IT
<?php echo "And can't see this echo too..." ;?>
}
</script>
I' also try with a classic
I think I MUST use the javascript code, but how? and why i can't see the submit button? (I think is that one which looks like a floppy disk...)
Any idea???