Skip to content

TinyMCE by SER

Hello
I need ideas about filling tinymce area.

<body dir="ltr" id="tinymce" class="mceContentBody " onload="window.parent.tinyMCE.get('content').onLoad.dispatch();" contenteditable="true">
...</body>

I'm trying do it by add fixed data by not working.

i will be very thankful for all advices.

Comments

  • SvenSven www.GSA-Online.de
    this is not the form variable you need. Have a look in the source and you will see some textarea field that is used on submission where the tinymce stuff is copied.
  • image
    i'm trying to set write_content=%article% but no effects, when I click Toogle Editor textarea get color and is active now:

    image


    is there any way to simulate click on toggle editor button ?
    <a href="#" onclick="tinyMCE.execCommand('mceToggleEditor', false, 'write_content');return false;" title="Toggle editor">Toggle editor</a>


  • SvenSven www.GSA-Online.de
    Im sure thats not the problem here. Try spying on the submitted packed using WireShark or in firefox with the Life HTTP Headers plugin.
  • thank you Sven, Life HTTP Headers great helps.
Sign In or Register to comment.